home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 February: Tool Chest / Dev.CD Feb 95 / Dev.CD Feb 95.toast / Sample Code / Newton Sample Code 1.2 / Routing / Q&A Routing < prev   
MacBinary  |  1994-07-11  |  127.0 KB  |  [ONLN/HLX2]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Thu Jul 7 14:57:00 1994, modified Mon Jul 11 08:45:24 1994, creator 'HLX2', type 'ONLN', 124656 bytes "Q&A Routing" , at 0x1e770 5225 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[ONLN]
macFileCreator[HLX2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 51 26 41 20 52 6f | 75 74 69 6e 67 00 00 00 |..Q&A Ro|uting...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 01 e6 f0 00 | 00 14 69 aa 42 00 7c aa |........|..i.B.|.|
|00000060| 46 ef 64 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |F.d.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 b4 27 00 00 |........|.....'..|
|00000080| 52 4f 55 54 49 4e 47 0d | a9 20 43 6f 70 79 72 69 |ROUTING.|. Copyri|
|00000090| 67 68 74 20 31 39 39 33 | 2d 39 34 20 41 70 70 6c |ght 1993|-94 Appl|
|000000a0| 65 20 43 6f 6d 70 75 74 | 65 72 2c 20 49 6e 63 2c |e Comput|er, Inc,|
|000000b0| 20 41 6c 6c 20 52 69 67 | 68 74 73 20 52 65 73 65 | All Rig|hts Rese|
|000000c0| 72 76 65 64 0d 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |rved.___|________|
|000000d0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000000e0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000000f0| 5f 5f 0d 09 0d 49 6e 74 | 72 6f 64 75 63 74 69 6f |__...Int|roductio|
|00000100| 6e 0d 54 68 69 73 20 64 | 6f 63 75 6d 65 6e 74 20 |n.This d|ocument |
|00000110| 61 64 64 72 65 73 73 65 | 73 20 4e 65 77 74 6f 6e |addresse|s Newton|
|00000120| 20 52 6f 75 74 69 6e 67 | 20 69 73 73 75 65 73 20 | Routing| issues |
|00000130| 74 68 61 74 20 61 72 65 | 20 6e 6f 74 20 61 76 61 |that are| not ava|
|00000140| 69 6c 61 62 6c 65 20 69 | 6e 20 74 68 65 20 63 75 |ilable i|n the cu|
|00000150| 72 72 65 6e 74 6c 79 20 | 70 72 69 6e 74 65 64 20 |rrently |printed |
|00000160| 64 6f 63 75 6d 65 6e 74 | 61 74 69 6f 6e 20 2e 20 |document|ation . |
|00000170| 50 6c 65 61 73 65 20 6e | 6f 74 65 20 74 68 61 74 |Please n|ote that|
|00000180| 20 74 68 69 73 20 69 6e | 66 6f 72 6d 61 74 69 6f | this in|formatio|
|00000190| 6e 20 69 73 20 73 75 62 | 6a 65 63 74 20 74 6f 20 |n is sub|ject to |
|000001a0| 63 68 61 6e 67 65 20 61 | 73 20 74 68 65 20 4e 65 |change a|s the Ne|
|000001b0| 77 74 6f 6e 20 74 65 63 | 68 6e 6f 6c 6f 67 79 20 |wton tec|hnology |
|000001c0| 61 6e 64 20 64 65 76 65 | 6c 6f 70 6d 65 6e 74 20 |and deve|lopment |
|000001d0| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 20 65 76 6f 6c |environm|ent evol|
|000001e0| 76 65 2e 0d 54 41 42 4c | 45 20 4f 46 20 43 4f 4e |ve..TABL|E OF CON|
|000001f0| 54 45 4e 54 53 3a 0d 57 | 65 27 72 65 20 52 6f 75 |TENTS:.W|e're Rou|
|00000200| 74 69 6e 67 20 46 6f 72 | 20 59 6f 75 20 28 4f 62 |ting For| You (Ob|
|00000210| 73 6f 6c 65 74 65 64 20 | 62 79 20 4e 65 77 74 6f |soleted |by Newto|
|00000220| 6e 20 50 72 6f 67 72 61 | 6d 6d 65 72 73 20 47 75 |n Progra|mmers Gu|
|00000230| 69 64 65 20 31 2e 30 20 | 44 6f 63 75 6d 65 6e 74 |ide 1.0 |Document|
|00000240| 61 74 69 6f 6e 20 53 65 | 63 74 69 6f 6e 20 31 33 |ation Se|ction 13|
|00000250| 29 0d 52 6f 75 74 69 6e | 67 20 51 26 41 73 0d a5 |).Routin|g Q&As..|
|00000260| 20 53 65 6e 64 69 6e 67 | 20 46 72 61 6d 65 73 2c | Sending| Frames,|
|00000270| 20 57 68 61 74 20 41 70 | 70 6c 69 63 61 74 69 6f | What Ap|plicatio|
|00000280| 6e 20 69 73 20 4f 70 65 | 6e 65 64 20 61 74 20 74 |n is Ope|ned at t|
|00000290| 68 65 20 4f 74 68 65 72 | 20 45 6e 64 3f 20 28 31 |he Other| End? (1|
|000002a0| 31 2f 31 31 2f 39 33 29 | 0d 20 20 28 4f 62 73 6f |1/11/93)|. (Obso|
|000002b0| 6c 65 74 65 64 20 62 79 | 20 4e 65 77 74 6f 6e 20 |leted by| Newton |
|000002c0| 50 72 6f 67 72 61 6d 6d | 65 72 73 20 47 75 69 64 |Programm|ers Guid|
|000002d0| 65 20 31 2e 30 20 44 6f | 63 75 6d 65 6e 74 61 74 |e 1.0 Do|cumentat|
|000002e0| 69 6f 6e 20 31 33 2d 31 | 33 29 0d a5 20 4c 61 6e |ion 13-1|3).. Lan|
|000002f0| 64 73 63 61 70 65 20 50 | 72 69 6e 74 69 6e 67 2c |dscape P|rinting,|
|00000300| 20 43 75 72 72 65 6e 74 | 6c 79 20 4e 6f 74 20 53 | Current|ly Not S|
|00000310| 75 70 70 6f 72 74 65 64 | 20 28 31 32 2f 31 38 2f |upported| (12/18/|
|00000320| 39 33 29 20 20 28 4f 62 | 73 6f 6c 65 74 65 64 20 |93) (Ob|soleted |
|00000330| 62 79 20 4e 65 77 74 6f | 6e 0d 20 20 20 50 72 6f |by Newto|n. Pro|
|00000340| 67 72 61 6d 6d 65 72 73 | 20 47 75 69 64 65 20 31 |grammers| Guide 1|
|00000350| 2e 30 20 44 6f 63 75 6d | 65 6e 74 61 74 69 6f 6e |.0 Docum|entation|
|00000360| 20 31 33 2d 37 29 0d a5 | 20 49 74 65 6d 20 54 69 | 13-7)..| Item Ti|
|00000370| 74 6c 65 73 2c 20 42 65 | 61 6d 69 6e 67 20 28 31 |tles, Be|aming (1|
|00000380| 32 2f 31 39 2f 39 33 29 | 20 28 4f 62 73 6f 6c 65 |2/19/93)| (Obsole|
|00000390| 74 65 64 20 62 79 20 4e | 65 77 74 6f 6e 20 50 72 |ted by N|ewton Pr|
|000003a0| 6f 67 72 61 6d 6d 65 72 | 73 20 47 75 69 64 65 20 |ogrammer|s Guide |
|000003b0| 31 2e 30 0d 20 20 20 44 | 6f 63 75 6d 65 6e 74 61 |1.0. D|ocumenta|
|000003c0| 74 69 6f 6e 20 31 33 2d | 37 29 0d a5 20 50 72 69 |tion 13-|7).. Pri|
|000003d0| 6e 74 69 6e 67 20 61 6e | 64 20 74 68 65 20 41 70 |nting an|d the Ap|
|000003e0| 70 6c 69 63 61 74 69 6f | 6e 20 4e 6f 74 20 50 72 |plicatio|n Not Pr|
|000003f0| 65 73 65 6e 74 20 28 31 | 32 2f 31 39 2f 39 33 29 |esent (1|2/19/93)|
|00000400| 0d a5 20 43 68 61 6e 67 | 69 6e 67 20 50 72 69 6e |.. Chang|ing Prin|
|00000410| 74 20 46 6f 72 6d 61 74 | 73 20 6f 6e 20 74 68 65 |t Format|s on the|
|00000420| 20 46 6c 79 20 28 31 32 | 2f 31 39 2f 39 33 29 20 | Fly (12|/19/93) |
|00000430| 28 4f 62 73 6f 6c 65 74 | 65 64 20 62 79 20 4e 65 |(Obsolet|ed by Ne|
|00000440| 77 74 6f 6e 20 50 72 6f | 67 72 61 6d 6d 65 72 73 |wton Pro|grammers|
|00000450| 0d 20 20 20 47 75 69 64 | 65 20 31 2e 30 20 44 6f |. Guid|e 1.0 Do|
|00000460| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 20 31 33 2d 32 |cumentat|ion 13-2|
|00000470| 31 29 0d a5 20 48 6f 77 | 20 64 6f 20 49 20 47 65 |1).. How| do I Ge|
|00000480| 74 20 74 68 65 20 54 72 | 69 61 6e 67 6c 65 20 69 |t the Tr|iangle i|
|00000490| 6e 20 74 68 65 20 46 69 | 6c 69 6e 67 20 42 75 74 |n the Fi|ling But|
|000004a0| 74 6f 6e 20 66 6f 72 20 | 43 61 72 64 20 49 74 65 |ton for |Card Ite|
|000004b0| 6d 73 20 28 31 32 2f 32 | 30 2f 39 33 29 0d a5 20 |ms (12/2|0/93).. |
|000004c0| 48 6f 77 20 64 6f 20 49 | 20 47 65 74 20 61 20 44 |How do I| Get a D|
|000004d0| 65 66 61 75 6c 74 20 4e | 61 6d 65 20 69 6e 20 74 |efault N|ame in t|
|000004e0| 68 65 20 66 61 78 53 6c | 69 70 20 28 6f 72 20 65 |he faxSl|ip (or e|
|000004f0| 6c 73 65 77 68 65 72 65 | 29 20 28 31 32 2f 32 32 |lsewhere|) (12/22|
|00000500| 2f 39 33 29 0d a5 20 50 | 72 69 6e 74 69 6e 67 20 |/93).. P|rinting |
|00000510| 52 65 73 6f 6c 75 74 69 | 6f 6e 20 28 32 2f 38 2f |Resoluti|on (2/8/|
|00000520| 39 34 29 0d a5 20 4e 6f | 74 20 61 6c 6c 20 44 72 |94).. No|t all Dr|
|00000530| 61 77 69 6e 67 20 4d 6f | 64 65 73 20 57 6f 72 6b |awing Mo|des Work|
|00000540| 20 77 69 74 68 20 61 20 | 50 6f 73 74 73 63 72 69 | with a |Postscri|
|00000550| 70 74 20 50 72 69 6e 74 | 65 72 20 28 33 2f 38 2f |pt Print|er (3/8/|
|00000560| 39 34 29 0d a5 20 43 68 | 65 63 6b 69 6e 67 20 74 |94).. Ch|ecking t|
|00000570| 68 65 20 52 4f 4d 20 4c | 61 6e 67 75 61 67 65 20 |he ROM L|anguage |
|00000580| 45 6e 76 69 72 6f 6e 6d | 65 6e 74 20 66 6f 72 20 |Environm|ent for |
|00000590| 3a 4d 75 6e 67 65 50 68 | 6f 6e 65 20 28 34 2f 31 |:MungePh|one (4/1|
|000005a0| 30 2f 39 34 29 0d a5 20 | 43 48 41 4e 47 45 44 3a |0/94).. |CHANGED:|
|000005b0| 20 50 72 69 6e 74 69 6e | 67 20 44 6f 65 73 20 4e | Printin|g Does N|
|000005c0| 6f 74 20 48 61 76 65 20 | 41 63 63 65 73 73 20 74 |ot Have |Access t|
|000005d0| 6f 20 74 68 65 20 41 70 | 70 20 46 72 61 6d 65 20 |o the Ap|p Frame |
|000005e0| 6f 72 20 47 6c 6f 62 61 | 6c 73 20 28 36 2f 32 31 |or Globa|ls (6/21|
|000005f0| 2f 39 33 29 0d a5 20 4e | 45 57 3a 20 54 69 74 6c |/93).. N|EW: Titl|
|00000600| 65 20 69 6e 20 74 68 65 | 20 49 6e 2f 4f 75 74 62 |e in the| In/Outb|
|00000610| 6f 78 20 44 6f 65 73 20 | 4e 6f 74 20 57 72 61 70 |ox Does |Not Wrap|
|00000620| 20 28 36 2f 33 2f 39 34 | 29 0d a5 20 4e 45 57 3a | (6/3/94|).. NEW:|
|00000630| 20 50 72 69 6e 74 69 6e | 67 20 52 65 73 6f 6c 75 | Printin|g Resolu|
|00000640| 74 69 6f 6e 20 37 32 44 | 50 49 2f 33 30 30 44 50 |tion 72D|PI/300DP|
|00000650| 49 20 28 36 2f 39 2f 39 | 34 29 0d a5 20 4e 45 57 |I (6/9/9|4).. NEW|
|00000660| 3a 20 50 49 43 54 20 50 | 72 69 6e 74 69 6e 67 20 |: PICT P|rinting |
|00000670| 4c 69 6d 69 74 61 74 69 | 6f 6e 73 20 28 36 2f 39 |Limitati|ons (6/9|
|00000680| 2f 39 34 29 0d a5 20 43 | 48 41 4e 47 45 44 3a 20 |/94).. C|HANGED: |
|00000690| 4f 75 74 20 6f 66 20 4d | 65 6d 6f 72 79 20 57 68 |Out of M|emory Wh|
|000006a0| 65 6e 20 41 64 64 69 6e | 67 20 49 74 65 6d 73 20 |en Addin|g Items |
|000006b0| 74 6f 20 74 68 65 20 4f | 75 74 62 6f 78 20 28 36 |to the O|utbox (6|
|000006c0| 2f 37 2f 39 34 29 0d a5 | 20 4e 45 57 3a 20 46 61 |/7/94)..| NEW: Fa|
|000006d0| 78 20 54 69 6d 65 6f 75 | 74 20 26 20 42 61 6e 64 |x Timeou|t & Band|
|000006e0| 69 6e 67 20 28 36 2f 32 | 31 2f 39 34 29 0d a5 20 |ing (6/2|1/94).. |
|000006f0| 4e 45 57 3a 20 48 6f 77 | 20 74 6f 20 49 6d 70 72 |NEW: How| to Impr|
|00000700| 6f 76 65 20 50 72 69 6e | 74 20 26 20 46 61 78 20 |ove Prin|t & Fax |
|00000710| 53 70 65 65 64 20 77 68 | 65 6e 20 42 61 6e 64 69 |Speed wh|en Bandi|
|00000720| 6e 67 20 28 36 2f 32 31 | 2f 39 34 29 0d a5 20 4e |ng (6/21|/94).. N|
|00000730| 45 57 3a 20 48 6f 77 20 | 74 6f 20 44 65 74 65 72 |EW: How |to Deter|
|00000740| 6d 69 6e 65 20 74 68 65 | 20 44 72 61 77 69 6e 67 |mine the| Drawing|
|00000750| 2f 42 61 6e 64 69 6e 67 | 20 52 65 67 69 6f 6e 20 |/Banding| Region |
|00000760| 28 36 2f 32 31 2f 39 34 | 29 0d a5 20 4e 45 57 3a |(6/21/94|).. NEW:|
|00000770| 20 54 61 72 67 65 74 56 | 69 65 77 20 44 6f 65 73 | TargetV|iew Does|
|00000780| 20 4e 6f 74 20 47 65 74 | 20 52 6f 75 74 69 6e 67 | Not Get| Routing|
|00000790| 20 4d 65 73 73 61 67 65 | 73 20 28 36 2f 32 39 2f | Message|s (6/29/|
|000007a0| 39 34 29 0d a5 20 4e 45 | 57 3a 20 44 6f 20 4e 6f |94).. NE|W: Do No|
|000007b0| 74 20 55 73 65 20 74 68 | 65 20 53 65 74 75 70 54 |t Use th|e SetupT|
|000007c0| 61 72 67 65 74 20 4d 65 | 63 68 61 6e 69 73 6d 20 |arget Me|chanism |
|000007d0| 28 36 2f 32 39 2f 39 34 | 29 0d a5 20 43 48 41 4e |(6/29/94|).. CHAN|
|000007e0| 47 45 44 3a 20 43 68 65 | 63 6b 69 6e 67 20 66 6f |GED: Che|cking fo|
|000007f0| 72 20 46 61 78 20 53 65 | 6e 74 20 28 37 2f 36 2f |r Fax Se|nt (7/6/|
|00000800| 39 34 29 0d a5 20 43 48 | 41 4e 47 45 44 3a 20 50 |94).. CH|ANGED: P|
|00000810| 72 69 6e 74 69 6e 67 20 | 53 70 65 63 69 61 6c 20 |rinting |Special |
|00000820| 53 79 73 74 65 6d 20 46 | 6f 6e 74 73 20 77 69 74 |System F|onts wit|
|00000830| 68 20 61 20 50 6f 73 74 | 73 63 72 69 70 74 20 50 |h a Post|script P|
|00000840| 72 69 6e 74 65 72 20 28 | 37 2f 32 36 2f 39 34 29 |rinter (|7/26/94)|
|00000850| 0d 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |._______|________|
|00000860| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000870| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000880| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000890| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 09 0d |________|______..|
|000008a0| 09 57 65 72 65 20 52 6f | 75 74 69 6e 67 20 66 6f |.Were Ro|uting fo|
|000008b0| 72 20 59 6f 75 20 28 52 | 6f 75 74 69 6e 67 20 66 |r You (R|outing f|
|000008c0| 6f 72 20 74 68 65 20 4e | 65 77 74 6f 6e 29 0d 28 |or the N|ewton).(|
|000008d0| 4f 62 73 6f 6c 65 74 65 | 64 20 62 79 20 4e 65 77 |Obsolete|d by New|
|000008e0| 74 6f 6e 20 50 72 6f 67 | 72 61 6d 6d 65 72 73 20 |ton Prog|rammers |
|000008f0| 47 75 69 64 65 20 31 2e | 30 20 44 6f 63 75 6d 65 |Guide 1.|0 Docume|
|00000900| 6e 74 61 74 69 6f 6e 20 | 53 65 63 74 69 6f 6e 20 |ntation |Section |
|00000910| 31 33 29 0d 76 65 72 73 | 69 6f 6e 20 30 2e 33 20 |13).vers|ion 0.3 |
|00000920| 4a 75 6e 20 38 2c 20 31 | 39 39 34 0d 57 65 6c 63 |Jun 8, 1|994.Welc|
|00000930| 6f 6d 65 20 74 6f 20 74 | 68 65 20 77 6f 6e 64 65 |ome to t|he wonde|
|00000940| 72 66 75 6c 20 77 6f 72 | 6c 64 20 6f 66 20 72 6f |rful wor|ld of ro|
|00000950| 75 74 69 6e 67 2e 20 54 | 68 69 73 20 64 6f 63 75 |uting. T|his docu|
|00000960| 6d 65 6e 74 20 64 65 73 | 63 72 69 62 65 73 20 68 |ment des|cribes h|
|00000970| 6f 77 20 79 6f 75 72 20 | 61 70 70 6c 69 63 61 74 |ow your |applicat|
|00000980| 69 6f 6e 20 63 61 6e 20 | 73 75 70 70 6f 72 74 20 |ion can |support |
|00000990| 74 68 65 20 61 63 74 69 | 6f 6e 20 62 75 74 74 6f |the acti|on butto|
|000009a0| 6e 20 28 70 72 6f 74 6f | 52 6f 75 74 69 6e 67 53 |n (proto|RoutingS|
|000009b0| 6c 69 70 29 20 66 6f 72 | 20 64 75 70 6c 69 63 61 |lip) for| duplica|
|000009c0| 74 69 6e 67 2c 20 64 65 | 6c 65 74 69 6e 67 2c 20 |ting, de|leting, |
|000009d0| 6d 6f 76 69 6e 67 20 73 | 6f 75 70 20 64 61 74 61 |moving s|oup data|
|000009e0| 20 74 6f 20 61 6e 64 20 | 66 72 6f 6d 20 63 61 72 | to and |from car|
|000009f0| 64 73 2c 20 70 72 69 6e | 74 69 6e 67 2c 20 66 61 |ds, prin|ting, fa|
|00000a00| 78 69 6e 67 2c 20 62 65 | 61 6d 69 6e 67 20 61 6e |xing, be|aming an|
|00000a10| 64 20 6d 61 69 6c 69 6e | 67 2e 0d 54 68 65 20 61 |d mailin|g..The a|
|00000a20| 6d 6f 75 6e 74 20 6f 66 | 20 77 6f 72 6b 20 79 6f |mount of| work yo|
|00000a30| 75 20 6e 65 65 64 20 74 | 6f 20 64 6f 20 64 65 70 |u need t|o do dep|
|00000a40| 65 6e 64 73 20 6f 6e 20 | 77 68 61 74 20 74 79 70 |ends on |what typ|
|00000a50| 65 20 6f 66 20 72 6f 75 | 74 69 6e 67 20 79 6f 75 |e of rou|ting you|
|00000a60| 20 77 61 6e 74 20 74 6f | 20 73 75 70 70 6f 72 74 | want to| support|
|00000a70| 2e 20 44 75 70 6c 69 63 | 61 74 69 6e 67 2c 20 64 |. Duplic|ating, d|
|00000a80| 65 6c 65 74 69 6e 67 20 | 61 6e 64 20 6d 6f 76 69 |eleting |and movi|
|00000a90| 6e 67 20 73 6f 75 70 20 | 64 61 74 61 20 74 6f 20 |ng soup |data to |
|00000aa0| 61 6e 64 20 66 72 6f 6d | 20 63 61 72 64 73 20 61 |and from| cards a|
|00000ab0| 72 65 20 6f 6e 20 74 68 | 65 20 73 69 6d 70 6c 65 |re on th|e simple|
|00000ac0| 73 74 20 6c 65 76 65 6c | 20 74 6f 20 73 75 70 70 |st level| to supp|
|00000ad0| 6f 72 74 2e 20 57 65 20 | 73 75 67 67 65 73 74 20 |ort. We |suggest |
|00000ae0| 79 6f 75 20 69 6d 70 6c | 65 6d 65 6e 74 20 74 68 |you impl|ement th|
|00000af0| 65 73 65 20 66 69 72 73 | 74 2c 20 61 6e 64 20 74 |ese firs|t, and t|
|00000b00| 68 65 6e 20 64 6f 20 74 | 68 65 20 72 65 73 74 2c |hen do t|he rest,|
|00000b10| 20 61 20 62 69 74 20 61 | 74 20 61 20 74 69 6d 65 | a bit a|t a time|
|00000b20| 2e 20 42 65 61 6d 69 6e | 67 20 61 6e 64 20 6d 61 |. Beamin|g and ma|
|00000b30| 69 6c 69 6e 67 20 61 72 | 65 20 6d 6f 72 65 20 64 |iling ar|e more d|
|00000b40| 69 66 66 69 63 75 6c 74 | 3b 20 70 72 69 6e 74 69 |ifficult|; printi|
|00000b50| 6e 67 20 61 6e 64 20 66 | 61 78 69 6e 67 20 61 72 |ng and f|axing ar|
|00000b60| 65 20 74 68 65 20 68 61 | 72 64 65 73 74 2c 20 74 |e the ha|rdest, t|
|00000b70| 68 6f 75 67 68 20 6e 6f | 74 20 6e 65 61 72 6c 79 |hough no|t nearly|
|00000b80| 20 61 73 20 64 69 66 66 | 69 63 75 6c 74 20 61 73 | as diff|icult as|
|00000b90| 20 73 75 70 70 6f 72 74 | 69 6e 67 20 4d 61 63 20 | support|ing Mac |
|00000ba0| 70 72 69 6e 74 69 6e 67 | 2e 0d 54 68 69 73 20 69 |printing|..This i|
|00000bb0| 6e 74 65 72 69 6d 20 64 | 6f 63 20 68 61 73 20 37 |nterim d|oc has 7|
|00000bc0| 20 73 65 63 74 69 6f 6e | 73 3a 20 31 29 20 57 68 | section|s: 1) Wh|
|00000bd0| 61 74 20 65 76 65 72 79 | 20 61 70 70 6c 69 63 61 |at every| applica|
|00000be0| 74 69 6f 6e 20 6e 65 65 | 64 73 2c 20 32 29 20 44 |tion nee|ds, 2) D|
|00000bf0| 44 43 20 28 44 65 6c 65 | 74 69 6e 67 2c 20 44 75 |DC (Dele|ting, Du|
|00000c00| 70 6c 69 63 61 74 69 6e | 67 2c 20 43 61 72 64 69 |plicatin|g, Cardi|
|00000c10| 6e 67 29 2c 20 33 29 20 | 42 65 61 6d 69 6e 67 2c |ng), 3) |Beaming,|
|00000c20| 20 34 29 20 74 68 65 20 | 6f 74 68 65 72 20 72 6f | 4) the |other ro|
|00000c30| 75 74 69 6e 67 20 63 61 | 74 65 67 6f 72 69 65 73 |uting ca|tegories|
|00000c40| 2c 20 20 35 29 20 52 6f | 75 74 69 6e 67 20 46 6f |, 5) Ro|uting Fo|
|00000c50| 72 6d 61 74 73 2c 20 36 | 29 20 42 61 6e 64 69 6e |rmats, 6|) Bandin|
|00000c60| 67 20 49 73 73 75 65 73 | 2c 20 37 29 20 46 61 78 |g Issues|, 7) Fax|
|00000c70| 69 6e 67 20 61 6e 64 20 | 74 69 6d 65 6f 75 74 0d |ing and |timeout.|
|00000c80| 31 2e 20 57 68 61 74 20 | 45 76 65 72 79 20 41 70 |1. What |Every Ap|
|00000c90| 70 6c 69 63 61 74 69 6f | 6e 20 4e 65 65 64 73 0d |plicatio|n Needs.|
|00000ca0| 54 6f 20 73 75 70 70 6f | 72 74 20 72 6f 75 74 69 |To suppo|rt routi|
|00000cb0| 6e 67 2c 20 65 76 65 72 | 79 20 61 70 70 6c 69 63 |ng, ever|y applic|
|00000cc0| 61 74 69 6f 6e 20 6e 65 | 65 64 73 20 74 6f 20 68 |ation ne|eds to h|
|00000cd0| 61 76 65 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |ave the |followin|
|00000ce0| 67 20 74 68 69 6e 67 73 | 0d 20 0d 61 70 70 53 79 |g things|. .appSy|
|00000cf0| 6d 62 6f 6c 0d 28 73 6c | 6f 74 29 20 41 20 73 79 |mbol.(sl|ot) A sy|
|00000d00| 6d 62 6f 6c 20 74 68 61 | 74 20 69 73 20 74 68 65 |mbol tha|t is the|
|00000d10| 20 73 61 6d 65 20 61 73 | 20 74 68 65 20 6f 6e 65 | same as| the one|
|00000d20| 20 61 73 73 69 67 6e 65 | 64 20 62 79 20 4e 54 4b | assigne|d by NTK|
|00000d30| 20 28 74 68 65 20 53 79 | 6d 62 6f 6c 20 70 61 72 | (the Sy|mbol par|
|00000d40| 74 20 6f 66 20 74 68 65 | 20 70 72 6f 6a 65 63 74 |t of the| project|
|00000d50| 20 70 72 65 66 65 72 65 | 6e 63 65 73 20 64 69 61 | prefere|nces dia|
|00000d60| 6c 6f 67 29 2e 20 66 6f | 72 20 65 78 61 6d 70 6c |log). fo|r exampl|
|00000d70| 65 2c 0d 61 70 70 53 79 | 6d 62 6f 6c 3a 20 77 69 |e,.appSy|mbol: wi|
|00000d80| 67 67 79 52 6f 75 74 69 | 6e 67 41 70 70 0d 74 61 |ggyRouti|ngApp.ta|
|00000d90| 72 67 65 74 20 5b 6f 72 | 20 3a 73 65 74 75 70 54 |rget [or| :setupT|
|00000da0| 61 72 67 65 74 28 73 6c | 69 70 29 20 2d 2d 20 73 |arget(sl|ip) -- s|
|00000db0| 65 65 20 63 6f 72 72 65 | 63 74 69 6f 6e 20 62 65 |ee corre|ction be|
|00000dc0| 6c 6f 77 5d 0d 28 73 6c | 6f 74 20 6f 72 20 6d 65 |low].(sl|ot or me|
|00000dd0| 73 73 61 67 65 29 20 54 | 68 65 20 74 61 72 67 65 |ssage) T|he targe|
|00000de0| 74 20 73 68 6f 75 6c 64 | 20 62 65 20 74 68 65 20 |t should| be the |
|00000df0| 64 61 74 61 20 74 6f 20 | 62 65 20 72 6f 75 74 65 |data to |be route|
|00000e00| 64 2e 20 49 6e 20 67 65 | 6e 65 72 61 6c 20 74 68 |d. In ge|neral th|
|00000e10| 69 73 20 77 69 6c 6c 20 | 62 65 20 61 20 73 6f 75 |is will |be a sou|
|00000e20| 70 20 65 6e 74 72 79 20 | 28 74 68 61 74 20 69 73 |p entry |(that is|
|00000e30| 2c 20 61 20 66 72 61 6d | 65 20 74 68 61 74 20 63 |, a fram|e that c|
|00000e40| 6f 6d 65 73 20 66 72 6f | 6d 20 61 20 63 75 72 73 |omes fro|m a curs|
|00000e50| 6f 72 3a 45 6e 74 72 79 | 28 29 20 63 61 6c 6c 29 |or:Entry|() call)|
|00000e60| 2e 20 54 68 65 20 74 61 | 72 67 65 74 20 73 68 6f |. The ta|rget sho|
|00000e70| 75 6c 64 20 70 6f 69 6e | 74 20 74 6f 20 74 68 65 |uld poin|t to the|
|00000e80| 20 73 6f 75 70 20 65 6e | 74 72 79 20 66 6f 72 20 | soup en|try for |
|00000e90| 74 68 65 20 63 75 72 72 | 65 6e 74 20 74 68 69 6e |the curr|ent thin|
|00000ea0| 67 20 79 6f 75 72 20 61 | 70 70 6c 69 63 61 74 69 |g your a|pplicati|
|00000eb0| 6f 6e 20 69 73 20 65 64 | 69 74 69 6e 67 2e 20 49 |on is ed|iting. I|
|00000ec0| 74 20 69 73 20 74 68 65 | 20 69 74 65 6d 20 74 6f |t is the| item to|
|00000ed0| 20 62 65 20 72 6f 75 74 | 65 64 20 28 64 65 6c 65 | be rout|ed (dele|
|00000ee0| 74 65 64 2c 20 64 75 70 | 6c 69 63 61 74 65 64 2c |ted, dup|licated,|
|00000ef0| 20 70 72 69 6e 74 65 64 | 2e 2e 2e 29 2e 20 54 68 | printed|...). Th|
|00000f00| 69 73 20 73 6c 6f 74 20 | 69 73 20 61 6c 73 6f 20 |is slot |is also |
|00000f10| 72 65 71 75 69 72 65 64 | 20 66 6f 72 20 66 69 6c |required| for fil|
|00000f20| 69 6e 67 20 28 73 65 65 | 20 72 65 6c 65 76 61 6e |ing (see| relevan|
|00000f30| 74 20 64 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 29 |t docume|ntation)|
|00000f40| 2e 0d 4e 6f 74 65 20 74 | 68 61 74 20 66 6f 72 20 |..Note t|hat for |
|00000f50| 63 65 72 74 61 69 6e 20 | 72 6f 75 74 69 6e 67 20 |certain |routing |
|00000f60| 63 61 74 65 67 6f 72 69 | 65 73 20 28 66 6f 72 20 |categori|es (for |
|00000f70| 65 78 61 6d 70 6c 65 2c | 20 70 72 69 6e 74 69 6e |example,| printin|
|00000f80| 67 2c 20 66 61 78 69 6e | 67 29 20 79 6f 75 20 6d |g, faxin|g) you m|
|00000f90| 61 6e 75 61 6c 6c 79 20 | 73 65 74 20 75 70 20 74 |anually |set up t|
|00000fa0| 68 65 20 74 61 72 67 65 | 74 20 61 6e 64 20 79 6f |he targe|t and yo|
|00000fb0| 75 72 20 61 70 70 20 77 | 69 6c 6c 20 62 65 20 74 |ur app w|ill be t|
|00000fc0| 68 65 20 6f 6e 6c 79 20 | 74 68 69 6e 67 20 77 68 |he only |thing wh|
|00000fd0| 69 63 68 20 75 73 65 73 | 20 69 74 2e 20 54 68 61 |ich uses| it. Tha|
|00000fe0| 74 20 77 61 79 20 79 6f | 75 20 63 61 6e 20 73 65 |t way yo|u can se|
|00000ff0| 74 20 75 70 20 61 6e 20 | 61 72 72 61 79 20 6f 66 |t up an |array of|
|00001000| 20 74 68 69 6e 67 73 20 | 74 6f 20 70 72 69 6e 74 | things |to print|
|00001010| 2e 0d 54 68 65 20 73 65 | 74 75 70 54 61 72 67 65 |..The se|tupTarge|
|00001020| 74 20 6d 65 73 73 61 67 | 65 20 69 73 20 73 65 6e |t messag|e is sen|
|00001030| 74 20 6f 6e 65 20 61 72 | 67 75 6d 65 6e 74 20 d1 |t one ar|gument .|
|00001040| 20 20 74 68 65 20 69 6e | 66 6f 72 6d 61 74 69 6f | the in|formatio|
|00001050| 6e 20 73 6c 69 70 20 75 | 73 65 64 20 62 79 20 74 |n slip u|sed by t|
|00001060| 68 65 20 74 79 70 65 20 | 6f 66 20 72 6f 75 74 69 |he type |of routi|
|00001070| 6e 67 2e 20 54 68 65 20 | 66 75 6e 63 74 69 6f 6e |ng. The |function|
|00001080| 20 73 68 6f 75 6c 64 20 | 73 65 74 20 74 68 65 20 | should |set the |
|00001090| 74 61 72 67 65 74 20 61 | 6e 64 20 74 61 72 67 65 |target a|nd targe|
|000010a0| 74 56 69 65 77 20 73 6c | 6f 74 73 20 6f 66 20 74 |tView sl|ots of t|
|000010b0| 68 65 20 73 6c 69 70 3a | 0d 53 65 74 75 70 54 61 |he slip:|.SetupTa|
|000010c0| 72 67 65 74 3a 20 66 75 | 6e 63 28 73 6c 69 70 29 |rget: fu|nc(slip)|
|000010d0| 0d 62 65 67 69 6e 0d 09 | 73 6c 69 70 2e 74 61 72 |.begin..|slip.tar|
|000010e0| 67 65 74 20 3a 3d 20 3a | 47 65 74 4d 79 43 75 72 |get := :|GetMyCur|
|000010f0| 72 65 6e 74 54 61 72 67 | 65 74 28 29 20 3b 0d 09 |rentTarg|et() ;..|
|00001100| 73 6c 69 70 2e 74 61 72 | 67 65 74 56 69 65 77 20 |slip.tar|getView |
|00001110| 3a 3d 20 73 65 6c 66 20 | 3b 0d 65 6e 64 0d 49 6e |:= self |;.end.In|
|00001120| 20 67 65 6e 65 72 61 6c | 2c 20 79 6f 75 20 77 69 | general|, you wi|
|00001130| 6c 6c 20 6f 6e 6c 79 20 | 75 73 65 20 73 65 74 75 |ll only |use setu|
|00001140| 70 54 61 72 67 65 74 20 | 69 66 20 79 6f 75 20 68 |pTarget |if you h|
|00001150| 61 76 65 20 74 6f 20 64 | 6f 20 73 6f 6d 65 74 68 |ave to d|o someth|
|00001160| 69 6e 67 20 73 70 65 63 | 69 61 6c 20 74 6f 20 66 |ing spec|ial to f|
|00001170| 69 6e 64 20 74 68 65 20 | 74 61 72 67 65 74 2e 20 |ind the |target. |
|00001180| 4f 74 68 65 72 77 69 73 | 65 2c 20 75 73 65 20 74 |Otherwis|e, use t|
|00001190| 68 65 20 74 61 72 67 65 | 74 20 73 6c 6f 74 2e 0d |he targe|t slot..|
|000011a0| 5b 53 65 74 75 70 54 61 | 72 67 65 74 20 43 4f 52 |[SetupTa|rget COR|
|000011b0| 52 45 43 54 49 4f 4e 20 | 2d 20 36 2f 32 39 2f 39 |RECTION |- 6/29/9|
|000011c0| 34 3a 20 41 6c 74 68 6f | 75 67 68 20 74 68 65 20 |4: Altho|ugh the |
|000011d0| 63 75 72 72 65 6e 74 20 | 64 6f 63 75 6d 65 6e 74 |current |document|
|000011e0| 61 74 69 6f 6e 20 73 70 | 65 63 69 66 69 65 73 20 |ation sp|ecifies |
|000011f0| 74 68 61 74 20 79 6f 75 | 72 20 62 61 73 65 20 76 |that you|r base v|
|00001200| 69 65 77 27 73 20 53 65 | 74 75 70 54 61 72 67 65 |iew's Se|tupTarge|
|00001210| 74 20 6d 65 74 68 6f 64 | 20 63 61 6e 20 62 65 20 |t method| can be |
|00001220| 69 6d 70 6c 65 6d 65 6e | 74 65 64 20 74 6f 20 64 |implemen|ted to d|
|00001230| 6f 20 63 75 73 74 6f 6d | 20 73 65 74 75 70 20 6f |o custom| setup o|
|00001240| 66 20 61 20 74 61 72 67 | 65 74 2c 20 74 68 69 73 |f a targ|et, this|
|00001250| 20 69 73 20 69 6e 63 6f | 72 72 65 63 74 2e 20 54 | is inco|rrect. T|
|00001260| 68 65 20 73 65 74 75 70 | 54 61 72 67 65 74 20 6d |he setup|Target m|
|00001270| 65 63 68 61 6e 69 73 6d | 20 69 73 20 6e 6f 74 20 |echanism| is not |
|00001280| 66 75 6c 6c 79 20 73 75 | 70 70 6f 72 74 65 64 20 |fully su|pported |
|00001290| 69 6e 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 4e |in the c|urrent N|
|000012a0| 65 77 74 6f 6e 20 52 4f | 4d 73 20 61 6e 64 20 77 |ewton RO|Ms and w|
|000012b0| 65 20 72 65 63 6f 6d 6d | 65 6e 64 20 74 68 61 74 |e recomm|end that|
|000012c0| 20 79 6f 75 20 61 76 6f | 69 64 20 63 75 72 72 65 | you avo|id curre|
|000012d0| 6e 74 6c 79 20 69 6d 70 | 6c 65 6d 65 6e 74 69 6e |ntly imp|lementin|
|000012e0| 67 20 53 65 74 75 70 54 | 61 72 67 65 74 2e 20 53 |g SetupT|arget. S|
|000012f0| 65 74 75 70 54 61 72 67 | 65 74 20 69 73 20 6e 6f |etupTarg|et is no|
|00001300| 74 20 63 6f 6e 73 69 73 | 74 65 6e 74 6c 79 20 63 |t consis|tently c|
|00001310| 61 6c 6c 65 64 20 61 6e | 64 20 74 68 65 20 6f 6e |alled an|d the on|
|00001320| 6c 79 20 77 61 79 20 74 | 6f 20 66 6f 72 63 65 20 |ly way t|o force |
|00001330| 69 74 73 20 75 73 65 20 | 77 69 74 68 20 61 20 70 |its use |with a p|
|00001340| 72 6f 74 6f 41 63 74 69 | 6f 6e 20 62 75 74 74 6f |rotoActi|on butto|
|00001350| 6e 20 28 74 68 61 74 20 | 69 73 2c 20 68 61 76 65 |n (that |is, have|
|00001360| 20 4e 4f 20 74 61 72 67 | 65 74 20 73 6c 6f 74 20 | NO targ|et slot |
|00001370| 65 78 69 73 74 29 20 77 | 69 6c 6c 20 74 68 72 6f |exist) w|ill thro|
|00001380| 77 20 65 78 63 65 70 74 | 69 6f 6e 73 20 66 72 6f |w except|ions fro|
|00001390| 6d 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 70 72 |m the cu|rrent pr|
|000013a0| 6f 74 6f 41 63 74 69 6f | 6e 42 75 74 74 6f 6e 2e |otoActio|nButton.|
|000013b0| 20 4e 6f 74 65 3a 20 74 | 68 65 20 22 44 6f 20 4e | Note: t|he "Do N|
|000013c0| 6f 74 20 55 73 65 20 74 | 68 65 20 53 65 74 75 70 |ot Use t|he Setup|
|000013d0| 54 61 72 67 65 74 20 4d | 65 63 68 61 6e 69 73 6d |Target M|echanism|
|000013e0| 22 20 51 26 41 20 61 6c | 73 6f 20 69 6e 63 6c 75 |" Q&A al|so inclu|
|000013f0| 64 65 73 20 74 68 69 73 | 20 69 6e 66 6f 72 6d 61 |des this| informa|
|00001400| 74 69 6f 6e 2e 5d 0d 74 | 61 72 67 65 74 56 69 65 |tion.].t|argetVie|
|00001410| 77 0d 54 68 69 73 20 69 | 73 20 74 68 65 20 76 69 |w.This i|s the vi|
|00001420| 65 77 20 74 68 61 74 20 | 77 69 6c 6c 20 62 65 20 |ew that |will be |
|00001430| 73 65 6e 74 20 72 6f 75 | 74 69 6e 67 20 6d 65 73 |sent rou|ting mes|
|00001440| 73 61 67 65 73 2e 20 55 | 73 75 61 6c 6c 79 20 74 |sages. U|sually t|
|00001450| 68 69 73 20 69 73 20 79 | 6f 75 72 20 62 61 73 65 |his is y|our base|
|00001460| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 76 69 65 | applica|tion vie|
|00001470| 77 2e 0d 5b 74 61 72 67 | 65 74 56 69 65 77 20 43 |w..[targ|etView C|
|00001480| 4f 52 52 45 43 54 49 4f | 4e 20 2d 20 36 2f 32 39 |ORRECTIO|N - 6/29|
|00001490| 2f 39 34 3a 20 54 68 65 | 20 74 61 72 67 65 74 56 |/94: The| targetV|
|000014a0| 69 65 77 20 69 73 20 75 | 73 65 64 20 62 79 20 73 |iew is u|sed by s|
|000014b0| 65 76 65 72 61 6c 20 70 | 61 72 74 73 20 6f 66 20 |everal p|arts of |
|000014c0| 74 68 65 20 4e 65 77 74 | 6f 6e 20 73 79 73 74 65 |the Newt|on syste|
|000014d0| 6d 2c 20 69 6e 63 6c 75 | 64 69 6e 67 20 72 6f 75 |m, inclu|ding rou|
|000014e0| 74 69 6e 67 20 61 6e 64 | 20 66 69 6c 69 6e 67 2e |ting and| filing.|
|000014f0| 20 57 68 65 6e 20 79 6f | 75 72 20 61 70 70 6c 69 | When yo|ur appli|
|00001500| 63 61 74 69 6f 6e 20 72 | 65 67 69 73 74 65 72 73 |cation r|egisters|
|00001510| 20 79 6f 75 72 20 72 6f | 75 74 69 6e 67 20 66 72 | your ro|uting fr|
|00001520| 61 6d 65 20 79 6f 75 72 | 20 62 61 73 65 20 76 69 |ame your| base vi|
|00001530| 65 77 20 77 69 6c 6c 20 | 61 63 74 75 61 6c 6c 79 |ew will |actually|
|00001540| 20 67 65 74 20 72 6f 75 | 74 69 6e 67 20 6d 65 73 | get rou|ting mes|
|00001550| 73 61 67 65 73 2c 20 77 | 68 69 63 68 20 69 6e 20 |sages, w|hich in |
|00001560| 73 6f 6d 65 20 63 61 73 | 65 73 20 69 6e 63 6c 75 |some cas|es inclu|
|00001570| 64 65 20 74 68 65 20 74 | 61 72 67 65 74 20 61 6e |de the t|arget an|
|00001580| 64 20 74 68 65 20 74 61 | 72 67 65 74 56 69 65 77 |d the ta|rgetView|
|00001590| 20 61 73 20 70 61 72 61 | 6d 65 74 65 72 73 2e 20 | as para|meters. |
|000015a0| 46 6f 72 20 69 6e 73 74 | 61 6e 63 65 2c 20 69 66 |For inst|ance, if|
|000015b0| 20 79 6f 75 20 77 61 6e | 74 20 73 70 65 63 69 66 | you wan|t specif|
|000015c0| 69 63 20 76 69 65 77 73 | 20 74 6f 20 62 65 20 73 |ic views| to be s|
|000015d0| 65 6e 74 20 6d 65 73 73 | 61 67 65 73 20 66 6f 72 |ent mess|ages for|
|000015e0| 20 64 65 6c 65 74 65 2c | 20 79 6f 75 72 20 62 61 | delete,| your ba|
|000015f0| 73 65 20 76 69 65 77 27 | 73 20 64 65 6c 65 74 65 |se view'|s delete|
|00001600| 41 63 74 69 6f 6e 53 63 | 72 69 70 74 20 63 6f 75 |ActionSc|ript cou|
|00001610| 6c 64 20 73 65 6e 64 20 | 61 20 6d 65 73 73 61 67 |ld send |a messag|
|00001620| 65 20 74 6f 20 74 68 65 | 20 76 69 65 77 20 72 65 |e to the| view re|
|00001630| 70 72 65 73 65 6e 74 65 | 64 20 62 79 20 74 61 72 |presente|d by tar|
|00001640| 67 65 74 56 69 65 77 2c | 20 77 68 69 63 68 20 77 |getView,| which w|
|00001650| 69 6c 6c 20 62 65 20 74 | 68 65 20 73 65 63 6f 6e |ill be t|he secon|
|00001660| 64 20 61 72 67 75 6d 65 | 6e 74 20 74 6f 20 64 65 |d argume|nt to de|
|00001670| 6c 65 74 65 41 63 74 69 | 6f 6e 53 63 72 69 70 74 |leteActi|onScript|
|00001680| 2e 20 4e 6f 74 65 3a 20 | 74 68 65 20 22 54 61 72 |. Note: |the "Tar|
|00001690| 67 65 74 56 69 65 77 20 | 44 6f 65 73 20 4e 6f 74 |getView |Does Not|
|000016a0| 20 47 65 74 20 52 6f 75 | 74 69 6e 67 20 4d 65 73 | Get Rou|ting Mes|
|000016b0| 73 61 67 65 73 22 20 51 | 26 41 20 61 6c 73 6f 20 |sages" Q|&A also |
|000016c0| 20 69 6e 63 6c 75 64 65 | 73 20 74 68 69 73 20 69 | include|s this i|
|000016d0| 6e 66 6f 72 6d 61 74 69 | 6f 6e 2e 5d 0d 73 65 74 |nformati|on.].set|
|000016e0| 75 70 52 6f 75 74 69 6e | 67 53 6c 69 70 28 66 69 |upRoutin|gSlip(fi|
|000016f0| 65 6c 64 73 29 0d 54 68 | 69 73 20 6d 65 73 73 61 |elds).Th|is messa|
|00001700| 67 65 20 69 73 20 75 73 | 65 64 20 74 6f 20 73 65 |ge is us|ed to se|
|00001710| 74 75 70 20 61 20 74 65 | 78 74 20 64 65 73 63 72 |tup a te|xt descr|
|00001720| 69 70 74 69 6f 6e 20 69 | 6e 20 74 68 65 20 4f 75 |iption i|n the Ou|
|00001730| 74 42 6f 78 20 65 6e 74 | 72 79 20 6f 66 20 79 6f |tBox ent|ry of yo|
|00001740| 75 72 20 72 6f 75 74 65 | 64 20 69 74 65 6d 2e 20 |ur route|d item. |
|00001750| 54 68 65 20 66 69 65 6c | 64 73 20 61 72 67 75 6d |The fiel|ds argum|
|00001760| 65 6e 74 20 63 6f 6e 74 | 61 69 6e 73 20 61 20 73 |ent cont|ains a s|
|00001770| 6c 6f 74 20 63 61 6c 6c | 65 64 20 74 69 74 6c 65 |lot call|ed title|
|00001780| 2c 20 74 68 61 74 20 79 | 6f 75 20 73 65 74 20 74 |, that y|ou set t|
|00001790| 6f 20 74 68 65 20 73 74 | 72 69 6e 67 20 79 6f 75 |o the st|ring you|
|000017a0| 20 77 61 6e 74 20 74 6f | 20 61 70 70 65 61 72 20 | want to| appear |
|000017b0| 69 6e 20 74 68 65 20 4f | 75 74 42 6f 78 20 61 73 |in the O|utBox as|
|000017c0| 20 61 20 64 65 73 63 72 | 69 70 74 69 6f 6e 20 6f | a descr|iption o|
|000017d0| 66 20 79 6f 75 72 20 69 | 74 65 6d 20 28 66 6f 72 |f your i|tem (for|
|000017e0| 20 65 78 61 6d 70 6c 65 | 2c 20 4e 6f 74 65 70 61 | example|, Notepa|
|000017f0| 64 2c 20 46 72 69 20 31 | 2f 31 2f 20 31 31 3a 30 |d, Fri 1|/1/ 11:0|
|00001800| 30 20 61 6d 29 2e 0d 54 | 68 69 73 20 69 73 20 61 |0 am)..T|his is a|
|00001810| 6c 73 6f 20 61 20 70 6c | 61 63 65 20 74 6f 20 70 |lso a pl|ace to p|
|00001820| 75 74 20 73 6f 6d 65 20 | 64 61 74 61 20 69 6e 20 |ut some |data in |
|00001830| 74 68 65 20 66 69 65 6c | 64 73 20 76 61 72 69 61 |the fiel|ds varia|
|00001840| 62 6c 65 20 74 68 61 74 | 20 79 6f 75 72 20 70 72 |ble that| your pr|
|00001850| 69 6e 74 20 61 6e 64 20 | 66 61 78 20 6c 61 79 6f |int and |fax layo|
|00001860| 75 74 73 20 63 61 6e 20 | 75 73 65 20 74 6f 20 66 |uts can |use to f|
|00001870| 69 6e 64 20 74 68 65 20 | 69 6e 66 6f 72 6d 61 74 |ind the |informat|
|00001880| 69 6f 6e 20 75 73 65 64 | 20 69 6e 20 70 72 69 6e |ion used| in prin|
|00001890| 74 69 6e 67 2f 66 61 78 | 69 6e 67 2e 20 54 68 69 |ting/fax|ing. Thi|
|000018a0| 73 20 69 73 20 65 61 73 | 79 20 74 6f 20 64 6f 20 |s is eas|y to do |
|000018b0| 62 65 63 61 75 73 65 20 | 6c 61 79 6f 75 74 73 20 |because |layouts |
|000018c0| 68 61 76 65 20 61 63 63 | 65 73 73 20 74 6f 20 74 |have acc|ess to t|
|000018d0| 68 65 20 66 69 65 6c 64 | 73 20 76 61 72 69 61 62 |he field|s variab|
|000018e0| 6c 65 2e 20 59 6f 75 20 | 63 61 6e 20 70 75 74 20 |le. You |can put |
|000018f0| 61 20 73 6c 6f 74 20 69 | 6e 20 66 69 65 6c 64 73 |a slot i|n fields|
|00001900| 20 74 68 61 74 20 6c 65 | 74 73 20 79 6f 75 72 20 | that le|ts your |
|00001910| 6c 61 79 6f 75 74 73 20 | 67 65 74 20 61 74 20 74 |layouts |get at t|
|00001920| 68 65 20 64 61 74 61 20 | 74 68 65 79 20 6e 65 65 |he data |they nee|
|00001930| 64 2e 20 4b 65 65 70 20 | 74 68 69 73 20 69 6e 66 |d. Keep |this inf|
|00001940| 6f 72 6d 61 74 69 6f 6e | 20 73 6d 61 6c 6c 2e 20 |ormation| small. |
|00001950| 54 68 65 20 62 65 73 74 | 20 69 73 20 73 6f 6d 65 |The best| is some|
|00001960| 74 68 69 6e 67 20 6c 69 | 6b 65 20 61 20 6b 65 79 |thing li|ke a key|
|00001970| 20 74 68 61 74 20 63 61 | 6e 20 62 65 20 75 73 65 | that ca|n be use|
|00001980| 64 20 66 6f 72 20 61 20 | 73 6f 75 70 20 71 75 65 |d for a |soup que|
|00001990| 72 79 2e 0d 41 6e 20 65 | 78 61 6d 70 6c 65 20 66 |ry..An e|xample f|
|000019a0| 75 6e 63 74 69 6f 6e 20 | 77 6f 75 6c 64 20 62 65 |unction |would be|
|000019b0| 3a 0d 66 75 6e 63 28 66 | 69 65 6c 64 73 29 0d 62 |:.func(f|ields).b|
|000019c0| 65 67 69 6e 0d 09 2f 2f | 20 70 75 74 20 72 65 66 |egin..//| put ref|
|000019d0| 65 72 65 6e 63 65 20 74 | 6f 20 6d 79 20 64 61 74 |erence t|o my dat|
|000019e0| 61 20 69 6e 20 66 69 65 | 6c 64 73 20 73 6f 20 6d |a in fie|lds so m|
|000019f0| 79 0d 09 2f 2f 20 70 72 | 69 6e 74 2f 66 61 78 20 |y..// pr|int/fax |
|00001a00| 66 6f 72 6d 61 74 73 20 | 63 61 6e 20 67 65 74 20 |formats |can get |
|00001a10| 61 74 20 69 74 0d 09 66 | 69 65 6c 64 73 2e 6d 79 |at it..f|ields.my|
|00001a20| 4b 65 79 3a 3d 20 74 61 | 72 67 65 74 2e 6b 65 79 |Key:= ta|rget.key|
|00001a30| 53 6c 6f 74 20 3b 0d 09 | 66 69 65 6c 64 73 2e 74 |Slot ;..|fields.t|
|00001a40| 69 74 6c 65 20 3a 3d 20 | 22 57 69 67 67 79 41 70 |itle := |"WiggyAp|
|00001a50| 70 2c 22 20 26 26 20 44 | 61 74 65 4e 54 69 6d 65 |p," && D|ateNTime|
|00001a60| 28 54 69 6d 65 28 29 29 | 3b 20 0d 65 6e 64 0d 57 |(Time())|; .end.W|
|00001a70| 61 72 6e 69 6e 67 3a 20 | 54 68 65 20 66 69 65 6c |arning: |The fiel|
|00001a80| 64 73 20 76 61 72 69 61 | 62 6c 65 20 6d 61 79 20 |ds varia|ble may |
|00001a90| 62 65 20 54 6f 74 61 6c | 43 6c 6f 6e 65 64 20 61 |be Total|Cloned a|
|00001aa0| 66 74 65 72 20 74 68 69 | 73 20 6d 65 73 73 61 67 |fter thi|s messag|
|00001ab0| 65 20 69 73 20 64 6f 6e | 65 2e 20 52 65 66 65 72 |e is don|e. Refer|
|00001ac0| 65 6e 63 65 73 20 74 6f | 20 79 6f 75 72 20 61 70 |ences to| your ap|
|00001ad0| 70 6c 69 63 61 74 69 6f | 6e 20 6f 72 20 52 4f 4d |plicatio|n or ROM|
|00001ae0| 20 77 69 6c 6c 20 63 61 | 75 73 65 20 74 68 65 20 | will ca|use the |
|00001af0| 4e 65 77 74 6f 6e 20 74 | 6f 20 68 61 6e 67 2c 20 |Newton t|o hang, |
|00001b00| 61 74 20 62 65 73 74 2e | 0d 41 20 72 6f 75 74 69 |at best.|.A routi|
|00001b10| 6e 67 20 66 72 61 6d 65 | 0d 54 68 69 73 20 69 73 |ng frame|.This is|
|00001b20| 20 61 20 66 72 61 6d 65 | 20 74 68 61 74 20 63 6f | a frame| that co|
|00001b30| 6e 74 61 69 6e 73 20 74 | 68 65 20 74 79 70 65 73 |ntains t|he types|
|00001b40| 20 6f 66 20 72 6f 75 74 | 69 6e 67 20 79 6f 75 72 | of rout|ing your|
|00001b50| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 63 61 6e | applica|tion can|
|00001b60| 20 64 6f 2e 20 59 6f 75 | 72 20 61 70 70 6c 69 63 | do. You|r applic|
|00001b70| 61 74 69 6f 6e 20 6d 75 | 73 74 20 61 64 64 20 74 |ation mu|st add t|
|00001b80| 68 69 73 20 66 72 61 6d | 65 20 74 6f 20 74 68 65 |his fram|e to the|
|00001b90| 20 67 6c 6f 62 61 6c 20 | 72 6f 75 74 69 6e 67 20 | global |routing |
|00001ba0| 66 72 61 6d 65 20 69 6e | 20 61 20 73 6c 6f 74 20 |frame in| a slot |
|00001bb0| 77 69 74 68 20 74 68 65 | 20 73 61 6d 65 20 73 79 |with the| same sy|
|00001bc0| 6d 62 6f 6c 20 61 73 20 | 79 6f 75 72 20 61 70 70 |mbol as |your app|
|00001bd0| 53 79 6d 62 6f 6c 2e 20 | 54 68 65 20 66 6f 6c 6c |Symbol. |The foll|
|00001be0| 6f 77 69 6e 67 20 63 6f | 64 65 20 61 70 70 65 61 |owing co|de appea|
|00001bf0| 72 73 20 69 6e 20 74 68 | 65 20 49 6e 73 74 61 6c |rs in th|e Instal|
|00001c00| 6c 53 63 72 69 70 74 20 | 74 65 78 74 20 64 6f 63 |lScript |text doc|
|00001c10| 75 6d 65 6e 74 20 74 68 | 61 74 20 69 73 20 69 6e |ument th|at is in|
|00001c20| 20 74 68 65 20 73 61 6d | 65 20 64 69 72 65 63 74 | the sam|e direct|
|00001c30| 6f 72 79 20 61 73 20 79 | 6f 75 72 20 70 61 63 61 |ory as y|our paca|
|00001c40| 6b 67 65 3a 0d 2f 2f 61 | 20 73 69 6d 70 6c 65 20 |kge:.//a| simple |
|00001c50| 72 6f 75 74 69 6e 67 20 | 66 72 61 6d 65 0d 2f 2f |routing |frame.//|
|00001c60| 20 4e 4f 54 45 20 69 6e | 20 4e 54 4b 2c 20 74 68 | NOTE in| NTK, th|
|00001c70| 69 73 20 77 6f 75 6c 64 | 20 62 65 20 61 20 73 6c |is would| be a sl|
|00001c80| 6f 74 20 69 6e 20 79 6f | 75 72 20 61 70 70 6c 69 |ot in yo|ur appli|
|00001c90| 63 61 74 69 6f 6e 0d 77 | 69 67 67 79 52 6f 75 74 |cation.w|iggyRout|
|00001ca0| 65 46 72 61 6d 65 20 3a | 3d 20 7b 0d 09 2f 2f 20 |eFrame :|= {..// |
|00001cb0| 73 6f 6d 65 74 68 69 6e | 67 20 66 6f 72 20 70 72 |somethin|g for pr|
|00001cc0| 69 6e 74 69 6e 67 0d 09 | 70 72 69 6e 74 3a 20 7b |inting..|print: {|
|00001cd0| 0d 09 09 74 69 74 6c 65 | 3a 20 22 50 72 69 6e 74 |...title|: "Print|
|00001ce0| 20 57 69 67 67 79 22 2c | 0d 09 09 72 6f 75 74 65 | Wiggy",|...route|
|00001cf0| 46 6f 72 6d 3a 20 70 72 | 69 6e 74 53 6c 69 70 2c |Form: pr|intSlip,|
|00001d00| 0d 09 09 66 6f 72 6d 61 | 74 73 3a 20 5b 77 69 67 |...forma|ts: [wig|
|00001d10| 42 75 73 69 6e 65 73 73 | 46 6f 72 6d 61 74 2c 20 |Business|Format, |
|00001d20| 77 69 67 4d 65 6d 6f 46 | 6f 72 6d 61 74 5d 0d 09 |wigMemoF|ormat]..|
|00001d30| 7d 2c 0d 09 2f 2f 20 70 | 75 74 20 61 20 73 70 61 |},..// p|ut a spa|
|00001d40| 63 65 72 20 69 6e 20 74 | 68 65 20 70 6f 70 75 70 |cer in t|he popup|
|00001d50| 20 6d 65 6e 75 0d 09 73 | 70 61 63 65 72 3a 20 6e | menu..s|pacer: n|
|00001d60| 69 6c 2c 0d 09 2f 2f 20 | 73 6f 6d 65 74 68 69 6e |il,..// |somethin|
|00001d70| 67 20 66 6f 72 20 64 65 | 6c 65 74 69 6e 67 0d 09 |g for de|leting..|
|00001d80| 64 65 6c 65 74 65 3a 20 | 7b 0d 09 09 74 69 74 6c |delete: |{...titl|
|00001d90| 65 3a 20 22 44 65 6c 65 | 74 65 22 2c 0d 09 09 72 |e: "Dele|te",...r|
|00001da0| 6f 75 74 65 53 63 72 69 | 70 74 3a 20 64 65 6c 65 |outeScri|pt: dele|
|00001db0| 74 65 41 63 74 69 6f 6e | 53 63 72 69 70 74 0d 09 |teAction|Script..|
|00001dc0| 7d 0d 7d 3b 0d 2f 2f 20 | 73 63 72 69 70 74 20 72 |}.};.// |script r|
|00001dd0| 75 6e 20 77 68 65 6e 20 | 70 61 63 6b 61 67 65 20 |un when |package |
|00001de0| 69 73 20 69 6e 73 74 61 | 6c 6c 65 64 0d 2f 2f 20 |is insta|lled.// |
|00001df0| 4e 4f 54 45 3a 20 79 6f | 75 20 63 61 6e 20 61 6c |NOTE: yo|u can al|
|00001e00| 73 6f 20 64 6f 20 74 68 | 69 73 20 66 72 6f 6d 0d |so do th|is from.|
|00001e10| 2f 2f 20 79 6f 75 72 20 | 76 69 65 77 53 65 74 75 |// your |viewSetu|
|00001e20| 70 46 6f 72 6d 53 63 72 | 69 70 74 0d 63 6f 6e 73 |pFormScr|ipt.cons|
|00001e30| 74 20 6b 41 70 70 53 79 | 6d 62 6f 6c 20 3a 3d 20 |t kAppSy|mbol := |
|00001e40| 27 7c 77 69 67 67 79 41 | 70 70 3a 57 49 47 47 59 |'|wiggyA|pp:WIGGY|
|00001e50| 7c 20 3b 0d 49 6e 73 74 | 61 6c 6c 53 63 72 69 70 || ;.Inst|allScrip|
|00001e60| 74 20 3a 3d 20 66 75 6e | 63 28 70 61 72 74 46 72 |t := fun|c(partFr|
|00001e70| 61 6d 65 29 0d 62 65 67 | 69 6e 0d 09 2f 2f 20 70 |ame).beg|in..// p|
|00001e80| 75 74 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 72 |ut appli|cation r|
|00001e90| 6f 75 74 69 6e 67 20 66 | 72 61 6d 65 20 69 6e 74 |outing f|rame int|
|00001ea0| 6f 20 74 68 65 0d 09 2f | 2f 20 67 6c 6f 62 61 6c |o the../|/ global|
|00001eb0| 20 72 6f 75 74 69 6e 67 | 20 66 72 61 6d 65 0d 09 | routing| frame..|
|00001ec0| 52 6f 75 74 69 6e 67 2e | 28 6b 41 70 70 53 79 6d |Routing.|(kAppSym|
|00001ed0| 62 6f 6c 29 3a 3d 0d 09 | 09 70 61 72 74 46 72 61 |bol):=..|.partFra|
|00001ee0| 6d 65 2e 74 68 65 46 6f | 72 6d 2e 77 69 67 67 79 |me.theFo|rm.wiggy|
|00001ef0| 52 6f 75 74 65 46 72 61 | 6d 65 3b 0d 65 6e 64 3b |RouteFra|me;.end;|
|00001f00| 0d 2f 2f 20 73 63 72 69 | 70 74 20 72 75 6e 20 77 |.// scri|pt run w|
|00001f10| 68 65 6e 20 70 61 63 6b | 61 67 65 20 69 73 20 72 |hen pack|age is r|
|00001f20| 65 6d 6f 76 65 64 20 66 | 72 6f 6d 20 4e 65 77 74 |emoved f|rom Newt|
|00001f30| 0d 2f 2f 20 79 6f 75 20 | 6d 69 67 68 74 20 61 6c |.// you |might al|
|00001f40| 73 6f 20 72 65 6d 6f 76 | 65 20 66 6f 72 6d 61 74 |so remov|e format|
|00001f50| 73 20 28 73 65 65 20 62 | 65 6c 6f 77 29 0d 44 65 |s (see b|elow).De|
|00001f60| 6c 65 74 65 53 63 72 69 | 70 74 20 3a 3d 20 66 75 |leteScri|pt := fu|
|00001f70| 6e 63 28 70 61 72 74 46 | 72 61 6d 65 29 0d 62 65 |nc(partF|rame).be|
|00001f80| 67 69 6e 0d 09 2f 2f 20 | 72 65 6d 6f 76 65 20 61 |gin..// |remove a|
|00001f90| 70 70 6c 69 63 61 74 69 | 6f 6e 20 72 6f 75 74 69 |pplicati|on routi|
|00001fa0| 6e 67 20 66 72 61 6d 65 | 20 66 72 6f 6d 0d 09 2f |ng frame| from../|
|00001fb0| 2f 20 67 6c 6f 62 61 6c | 20 72 6f 75 74 69 6e 67 |/ global| routing|
|00001fc0| 20 66 72 61 6d 65 2c 20 | 27 77 69 67 67 79 41 70 | frame, |'wiggyAp|
|00001fd0| 70 20 69 73 20 74 68 65 | 0d 09 2f 2f 20 61 70 70 |p is the|..// app|
|00001fe0| 6c 69 63 61 74 69 6f 6e | 20 73 79 6d 62 6f 6c 0d |lication| symbol.|
|00001ff0| 09 52 65 6d 6f 76 65 53 | 6c 6f 74 28 52 6f 75 74 |.RemoveS|lot(Rout|
|00002000| 69 6e 67 2c 20 6b 41 70 | 70 53 79 6d 62 6f 6c 29 |ing, kAp|pSymbol)|
|00002010| 3b 0d 65 6e 64 3b 0d 4e | 6f 74 65 3a 20 57 68 65 |;.end;.N|ote: Whe|
|00002020| 6e 20 79 6f 75 20 63 6c | 69 63 6b 20 6f 6e 20 74 |n you cl|ick on t|
|00002030| 68 65 20 61 63 74 69 6f | 6e 20 62 75 74 74 6f 6e |he actio|n button|
|00002040| 20 28 70 72 6f 74 6f 41 | 63 74 69 6f 6e 42 75 74 | (protoA|ctionBut|
|00002050| 74 6f 6e 29 2c 20 79 6f | 75 20 67 65 74 20 61 20 |ton), yo|u get a |
|00002060| 73 65 6c 65 63 74 69 6f | 6e 20 6d 65 6e 75 20 74 |selectio|n menu t|
|00002070| 68 61 74 20 69 73 20 63 | 6f 6e 73 74 72 75 63 74 |hat is c|onstruct|
|00002080| 65 64 20 66 72 6f 6d 20 | 74 68 69 73 20 66 72 61 |ed from |this fra|
|00002090| 6d 65 2e 20 45 61 63 68 | 20 69 74 65 6d 20 69 73 |me. Each| item is|
|000020a0| 20 74 61 6b 65 6e 20 69 | 6e 20 6f 72 64 65 72 20 | taken i|n order |
|000020b0| 74 6f 20 63 6f 6e 73 74 | 72 75 63 74 20 74 68 65 |to const|ruct the|
|000020c0| 20 6d 65 6e 75 2e 20 41 | 20 6e 69 6c 20 69 74 65 | menu. A| nil ite|
|000020d0| 6d 20 69 73 20 61 20 73 | 70 61 63 65 72 20 62 61 |m is a s|pacer ba|
|000020e0| 72 20 69 6e 20 74 68 65 | 20 6d 65 6e 75 2e 0d 4e |r in the| menu..N|
|000020f0| 6f 74 65 20 74 68 61 74 | 20 72 6f 75 74 69 6e 67 |ote that| routing|
|00002100| 20 77 69 6c 6c 20 20 72 | 65 61 64 20 74 68 65 20 | will r|ead the |
|00002110| 67 6c 6f 62 61 6c 20 72 | 6f 75 74 69 6e 67 20 66 |global r|outing f|
|00002120| 72 61 6d 65 20 61 6e 64 | 20 74 68 61 74 20 6b 41 |rame and| that kA|
|00002130| 70 70 53 79 6d 62 6f 6c | 20 69 73 20 74 68 65 20 |ppSymbol| is the |
|00002140| 61 70 70 53 79 6d 62 6f | 6c 20 66 6f 72 20 79 6f |appSymbo|l for yo|
|00002150| 75 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 2e 20 |ur appli|cation. |
|00002160| 4e 6f 74 69 63 65 20 68 | 6f 77 20 74 68 65 20 61 |Notice h|ow the a|
|00002170| 70 70 6c 69 63 61 74 69 | 6f 6e 20 72 65 6d 6f 76 |pplicati|on remov|
|00002180| 65 73 20 69 74 73 20 72 | 6f 75 74 69 6e 67 20 66 |es its r|outing f|
|00002190| 72 61 6d 65 20 77 68 65 | 6e 20 69 74 20 67 65 74 |rame whe|n it get|
|000021a0| 73 20 72 65 6d 6f 76 65 | 64 2e 20 54 68 69 73 20 |s remove|d. This |
|000021b0| 65 6e 73 75 72 65 73 20 | 79 6f 75 72 20 61 70 70 |ensures |your app|
|000021c0| 6c 69 63 61 74 69 6f 6e | 20 77 69 6c 6c 20 63 6c |lication| will cl|
|000021d0| 65 61 6e 20 75 70 20 61 | 66 74 65 72 20 79 6f 75 |ean up a|fter you|
|000021e0| 72 73 65 6c 66 20 61 6e | 64 20 61 76 6f 69 64 20 |rself an|d avoid |
|000021f0| 74 68 65 20 22 74 68 65 | 20 4e 65 77 74 6f 6e 20 |the "the| Newton |
|00002200| 73 74 69 6c 6c 20 6e 65 | 65 64 73 20 74 68 65 20 |still ne|eds the |
|00002210| 63 61 72 64 22 20 6d 65 | 73 73 61 67 65 20 77 68 |card" me|ssage wh|
|00002220| 65 6e 20 79 6f 75 20 65 | 6a 65 63 74 20 61 20 63 |en you e|ject a c|
|00002230| 61 72 64 20 77 69 74 68 | 20 79 6f 75 72 20 61 70 |ard with| your ap|
|00002240| 70 6c 69 63 61 74 69 6f | 6e 20 6f 6e 20 69 74 2e |plicatio|n on it.|
|00002250| 0d 41 6c 73 6f 20 4e 6f | 74 65 3a 20 59 6f 75 72 |.Also No|te: Your|
|00002260| 20 72 6f 75 74 69 6e 67 | 20 66 72 61 6d 65 20 6d | routing| frame m|
|00002270| 75 73 74 20 75 73 65 20 | 74 68 65 20 66 6f 6c 6c |ust use |the foll|
|00002280| 6f 77 69 6e 67 20 73 79 | 6d 62 6f 6c 2f 73 65 72 |owing sy|mbol/ser|
|00002290| 76 69 63 65 20 70 61 69 | 72 73 3a 0d 09 52 6f 75 |vice pai|rs:..Rou|
|000022a0| 74 69 6e 67 20 53 65 72 | 76 69 63 65 09 09 72 6f |ting Ser|vice..ro|
|000022b0| 75 74 69 6e 67 20 66 72 | 61 6d 65 20 73 79 6d 62 |uting fr|ame symb|
|000022c0| 6f 6c 0d 09 50 72 69 6e | 74 69 6e 67 09 09 70 72 |ol..Prin|ting..pr|
|000022d0| 69 6e 74 0d 09 46 61 78 | 69 6e 67 09 09 09 66 61 |int..Fax|ing...fa|
|000022e0| 78 0d 09 4d 61 69 6c 69 | 6e 67 09 09 6d 61 69 6c |x..Maili|ng..mail|
|000022f0| 0d 09 42 65 61 6d 69 6e | 67 09 09 7a 61 70 0d 32 |..Beamin|g..zap.2|
|00002300| 2e 20 44 44 43 20 28 44 | 65 6c 65 74 69 6e 67 2c |. DDC (D|eleting,|
|00002310| 20 44 75 70 6c 69 63 61 | 74 69 6e 67 2c 20 43 61 | Duplica|ting, Ca|
|00002320| 72 64 69 6e 67 29 0d 54 | 6f 20 73 75 70 70 6f 72 |rding).T|o suppor|
|00002330| 74 20 44 44 43 20 79 6f | 75 20 6e 65 65 64 20 74 |t DDC yo|u need t|
|00002340| 6f 20 68 61 76 65 20 61 | 6c 6c 20 74 68 65 20 6d |o have a|ll the m|
|00002350| 61 74 65 72 69 61 6c 73 | 20 66 72 6f 6d 20 73 65 |aterials| from se|
|00002360| 63 74 69 6f 6e 31 20 61 | 62 6f 76 65 2c 20 61 73 |ction1 a|bove, as|
|00002370| 20 77 65 6c 6c 20 61 73 | 20 73 75 70 70 6f 72 74 | well as| support|
|00002380| 20 73 63 72 69 70 74 73 | 20 66 6f 72 20 64 65 6c | scripts| for del|
|00002390| 65 74 69 6e 67 20 61 6e | 64 2f 6f 72 20 64 75 70 |eting an|d/or dup|
|000023a0| 6c 69 63 61 74 69 6e 67 | 2e 20 43 61 72 64 69 6e |licating|. Cardin|
|000023b0| 67 20 72 65 71 75 69 72 | 65 73 20 6f 6e 6c 79 20 |g requir|es only |
|000023c0| 61 20 73 70 65 63 69 61 | 6c 20 65 6e 74 72 79 20 |a specia|l entry |
|000023d0| 69 6e 20 74 68 65 20 61 | 70 70 6c 69 63 61 74 69 |in the a|pplicati|
|000023e0| 6f 6e 20 72 6f 75 74 69 | 6e 67 20 66 72 61 6d 65 |on routi|ng frame|
|000023f0| 2e 0d 44 65 6c 65 74 69 | 6e 67 0d 54 6f 20 73 75 |..Deleti|ng.To su|
|00002400| 70 70 6f 72 74 20 64 65 | 6c 65 74 69 6e 67 20 79 |pport de|leting y|
|00002410| 6f 75 20 6e 65 65 64 20 | 74 6f 20 61 64 64 20 61 |ou need |to add a|
|00002420| 6e 20 65 6e 74 72 79 20 | 74 6f 20 74 68 65 20 72 |n entry |to the r|
|00002430| 6f 75 74 69 6e 67 20 66 | 72 61 6d 65 20 66 6f 72 |outing f|rame for|
|00002440| 20 64 65 6c 65 74 69 6e | 67 2c 20 61 20 64 65 6c | deletin|g, a del|
|00002450| 65 74 65 20 73 63 72 69 | 70 74 20 74 6f 20 79 6f |ete scri|pt to yo|
|00002460| 75 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 74 |ur appli|cation t|
|00002470| 6f 20 72 65 63 65 69 76 | 65 20 74 68 65 20 64 65 |o receiv|e the de|
|00002480| 6c 65 74 65 20 72 6f 75 | 74 65 20 61 6e 64 2c 20 |lete rou|te and, |
|00002490| 6f 70 74 69 6f 6e 61 6c | 6c 79 2c 20 61 20 72 65 |optional|ly, a re|
|000024a0| 61 6c 20 64 61 74 61 20 | 64 65 6c 65 74 65 20 73 |al data |delete s|
|000024b0| 63 72 69 70 74 20 2e 0d | 52 6f 75 74 69 6e 67 20 |cript ..|Routing |
|000024c0| 46 72 61 6d 65 20 45 6e | 74 72 79 0d 54 68 65 20 |Frame En|try.The |
|000024d0| 65 6e 74 72 79 20 66 6f | 72 20 64 65 6c 65 74 69 |entry fo|r deleti|
|000024e0| 6e 67 20 68 61 73 20 74 | 68 69 73 20 66 6f 72 6d |ng has t|his form|
|000024f0| 3a 0d 64 65 6c 65 74 65 | 3a 20 7b 0d 09 74 69 74 |:.delete|: {..tit|
|00002500| 6c 65 3a 20 22 44 65 6c | 65 74 65 22 2c 0d 09 72 |le: "Del|ete",..r|
|00002510| 6f 75 74 65 53 63 72 69 | 70 74 3a 20 64 65 6c 65 |outeScri|pt: dele|
|00002520| 74 65 41 63 74 69 6f 6e | 53 63 72 69 70 74 7d 2c |teAction|Script},|
|00002530| 0d 54 68 65 20 75 73 65 | 72 20 69 6e 74 65 72 66 |.The use|r interf|
|00002540| 61 63 65 20 63 6f 6e 76 | 65 6e 74 69 6f 6e 20 69 |ace conv|ention i|
|00002550| 73 20 66 6f 72 20 74 68 | 65 20 74 69 74 6c 65 20 |s for th|e title |
|00002560| 74 6f 20 6a 75 73 74 20 | 73 61 79 20 44 65 6c 65 |to just |say Dele|
|00002570| 74 65 20 73 69 6e 63 65 | 20 74 68 69 73 20 69 73 |te since| this is|
|00002580| 20 6e 6f 74 20 6c 69 6b | 65 6c 79 20 74 6f 20 62 | not lik|ely to b|
|00002590| 65 20 74 68 65 20 66 69 | 72 73 74 20 69 74 65 6d |e the fi|rst item|
|000025a0| 20 69 6e 20 74 68 65 20 | 72 6f 75 74 69 6e 67 20 | in the |routing |
|000025b0| 66 72 61 6d 65 2e 20 54 | 68 65 20 72 6f 75 74 65 |frame. T|he route|
|000025c0| 53 63 72 69 70 74 20 69 | 73 20 61 20 73 79 6d 62 |Script i|s a symb|
|000025d0| 6f 6c 20 66 6f 72 20 61 | 20 73 63 72 69 70 74 20 |ol for a| script |
|000025e0| 74 68 61 74 20 79 6f 75 | 20 64 65 66 69 6e 65 20 |that you| define |
|000025f0| 69 6e 20 79 6f 75 72 20 | 61 70 70 6c 69 63 61 74 |in your |applicat|
|00002600| 69 6f 6e 2e 20 59 6f 75 | 20 63 61 6e 20 63 61 6c |ion. You| can cal|
|00002610| 6c 20 74 68 65 20 73 63 | 72 69 70 74 20 77 68 61 |l the sc|ript wha|
|00002620| 74 65 76 65 72 20 79 6f | 75 20 77 61 6e 74 2c 20 |tever yo|u want, |
|00002630| 64 65 6c 65 74 65 41 63 | 74 69 6f 6e 53 63 72 69 |deleteAc|tionScri|
|00002640| 70 74 20 69 73 20 6a 75 | 73 74 20 61 20 63 6f 6e |pt is ju|st a con|
|00002650| 76 65 6e 74 69 6f 6e 2e | 0d 64 65 6c 65 74 65 41 |vention.|.deleteA|
|00002660| 63 74 69 6f 6e 53 63 72 | 69 70 74 28 74 61 72 67 |ctionScr|ipt(targ|
|00002670| 65 74 2c 20 74 61 72 67 | 65 74 56 69 65 77 29 0d |et, targ|etView).|
|00002680| 54 68 65 20 6e 61 6d 65 | 20 6f 66 20 74 68 65 20 |The name| of the |
|00002690| 64 65 6c 65 74 65 20 73 | 63 72 69 70 74 20 6d 75 |delete s|cript mu|
|000026a0| 73 74 20 63 6f 72 72 65 | 73 70 6f 6e 64 20 74 6f |st corre|spond to|
|000026b0| 20 74 68 65 20 6e 61 6d | 65 20 79 6f 75 20 73 70 | the nam|e you sp|
|000026c0| 65 63 69 66 69 65 64 20 | 69 6e 20 74 68 65 20 72 |ecified |in the r|
|000026d0| 6f 75 74 65 53 63 72 69 | 70 74 20 73 6c 6f 74 20 |outeScri|pt slot |
|000026e0| 6f 66 20 74 68 65 20 72 | 6f 75 74 69 6e 67 20 66 |of the r|outing f|
|000026f0| 72 61 6d 65 20 65 6e 74 | 72 79 20 66 6f 72 20 64 |rame ent|ry for d|
|00002700| 65 6c 65 74 65 2e 20 54 | 68 65 20 74 77 6f 20 61 |elete. T|he two a|
|00002710| 72 67 75 6d 65 6e 74 73 | 20 61 72 65 3a 0d 74 61 |rguments| are:.ta|
|00002720| 72 67 65 74 3a 20 74 68 | 65 20 74 61 72 67 65 74 |rget: th|e target|
|00002730| 20 66 72 61 6d 65 2c 20 | 61 73 20 73 70 65 63 69 | frame, |as speci|
|00002740| 66 69 65 64 20 62 79 20 | 79 6f 75 72 20 61 70 70 |fied by |your app|
|00002750| 6c 69 63 61 74 69 6f 6e | 0d 74 61 72 67 65 74 56 |lication|.targetV|
|00002760| 69 65 77 3a 20 74 68 65 | 20 74 61 72 67 65 74 20 |iew: the| target |
|00002770| 76 69 65 77 20 61 73 20 | 73 70 65 63 69 66 69 65 |view as |specifie|
|00002780| 64 20 62 79 20 79 6f 75 | 72 20 61 70 70 6c 69 63 |d by you|r applic|
|00002790| 61 74 69 6f 6e 0d 49 6e | 20 6d 6f 73 74 20 63 61 |ation.In| most ca|
|000027a0| 73 65 73 20 79 6f 75 72 | 20 64 65 6c 65 74 65 20 |ses your| delete |
|000027b0| 73 63 72 69 70 74 20 77 | 69 6c 6c 20 63 61 6c 6c |script w|ill call|
|000027c0| 20 73 65 6e 64 20 74 68 | 65 20 44 65 6c 65 74 65 | send th|e Delete|
|000027d0| 20 6d 65 73 73 61 67 65 | 20 74 6f 20 61 20 76 69 | message| to a vi|
|000027e0| 65 77 2e 20 54 68 69 73 | 20 63 61 75 73 65 73 20 |ew. This| causes |
|000027f0| 74 68 65 20 74 61 72 67 | 65 74 20 76 69 65 77 20 |the targ|et view |
|00002800| 74 6f 20 64 6f 20 74 68 | 65 20 63 72 75 6d 70 6c |to do th|e crumpl|
|00002810| 65 20 61 6e 69 6d 61 74 | 69 6f 6e 20 61 6e 64 20 |e animat|ion and |
|00002820| 73 65 6e 64 73 20 61 20 | 6d 65 73 73 61 67 65 20 |sends a |message |
|00002830| 74 6f 20 74 68 65 20 76 | 69 65 77 20 74 6f 20 64 |to the v|iew to d|
|00002840| 65 6c 65 74 65 20 74 68 | 65 20 72 65 61 6c 20 64 |elete th|e real d|
|00002850| 61 74 61 2e 0d 49 66 20 | 79 6f 75 20 61 72 65 20 |ata..If |you are |
|00002860| 6e 6f 74 20 75 73 69 6e | 67 20 79 6f 75 72 20 64 |not usin|g your d|
|00002870| 65 6c 65 74 65 41 63 74 | 69 6f 6e 53 63 72 69 70 |eleteAct|ionScrip|
|00002880| 74 20 74 6f 20 73 65 6e | 64 20 61 20 44 65 6c 65 |t to sen|d a Dele|
|00002890| 74 65 20 6d 65 73 73 61 | 67 65 20 74 6f 20 61 20 |te messa|ge to a |
|000028a0| 76 69 65 77 2c 20 74 68 | 65 6e 20 74 68 65 20 64 |view, th|en the d|
|000028b0| 65 6c 65 74 65 41 63 74 | 69 6f 6e 53 63 72 69 70 |eleteAct|ionScrip|
|000028c0| 74 20 73 68 6f 75 6c 64 | 20 64 6f 20 61 6e 79 20 |t should| do any |
|000028d0| 72 65 71 75 69 72 65 64 | 20 64 61 74 61 20 64 65 |required| data de|
|000028e0| 6c 65 74 69 6f 6e 2e 0d | 41 6e 20 65 78 61 6d 70 |letion..|An examp|
|000028f0| 6c 65 20 64 65 6c 65 74 | 65 20 73 63 72 69 70 74 |le delet|e script|
|00002900| 20 6d 69 67 68 74 20 62 | 65 3a 0d 64 65 6c 65 74 | might b|e:.delet|
|00002910| 65 41 63 74 69 6f 6e 53 | 63 72 69 70 74 3a 20 66 |eActionS|cript: f|
|00002920| 75 6e 63 28 74 61 72 67 | 65 74 2c 20 74 61 72 67 |unc(targ|et, targ|
|00002930| 65 74 56 69 65 77 29 0d | 62 65 67 69 6e 0d 09 2f |etView).|begin../|
|00002940| 2f 20 73 65 6e 64 20 61 | 20 3a 44 65 6c 65 74 65 |/ send a| :Delete|
|00002950| 20 6d 65 73 73 61 67 65 | 20 74 6f 20 74 68 65 20 | message| to the |
|00002960| 63 6f 72 72 65 63 74 20 | 76 69 65 77 0d 09 2f 2f |correct |view..//|
|00002970| 20 73 6f 20 74 68 61 74 | 20 69 74 20 63 72 75 6d | so that| it crum|
|00002980| 70 6c 65 73 2e 0d 09 74 | 61 72 67 65 74 56 69 65 |ples...t|argetVie|
|00002990| 77 3a 44 65 6c 65 74 65 | 28 64 6f 44 65 6c 65 74 |w:Delete|(doDelet|
|000029a0| 65 41 63 74 69 6f 6e 2c | 20 0d 09 09 09 09 09 09 |eAction,| .......|
|000029b0| 09 5b 74 61 72 67 65 74 | 2c 74 61 72 67 65 74 56 |.[target|,targetV|
|000029c0| 69 65 77 5d 29 3b 0d 65 | 6e 64 0d 4e 6f 74 65 3a |iew]);.e|nd.Note:|
|000029d0| 20 54 68 65 20 44 65 6c | 65 74 65 20 76 69 65 77 | The Del|ete view|
|000029e0| 20 6d 65 73 73 61 67 65 | 20 73 79 6e 74 61 78 20 | message| syntax |
|000029f0| 69 73 3a 20 44 65 6c 65 | 74 65 28 6d 65 73 73 61 |is: Dele|te(messa|
|00002a00| 67 65 2c 20 61 72 67 73 | 29 3b 0d 6d 65 73 73 61 |ge, args|);.messa|
|00002a10| 67 65 3a 20 61 20 73 79 | 6d 62 6f 6c 20 66 6f 72 |ge: a sy|mbol for|
|00002a20| 20 74 68 65 20 6d 65 73 | 73 61 67 65 20 74 6f 20 | the mes|sage to |
|00002a30| 63 61 6c 6c 0d 61 72 67 | 73 3a 20 61 6e 20 61 72 |call.arg|s: an ar|
|00002a40| 72 61 79 20 6f 66 20 61 | 72 67 75 6d 65 6e 74 73 |ray of a|rguments|
|00002a50| 20 74 6f 20 70 61 73 73 | 20 74 6f 20 74 68 65 20 | to pass| to the |
|00002a60| 6d 65 73 73 61 67 65 0d | 52 65 61 6c 20 44 61 74 |message.|Real Dat|
|00002a70| 61 20 44 65 6c 65 74 65 | 20 53 63 72 69 70 74 0d |a Delete| Script.|
|00002a80| 59 6f 75 20 6f 6e 6c 79 | 20 6e 65 65 64 20 74 6f |You only| need to|
|00002a90| 20 64 65 66 69 6e 65 20 | 74 68 69 73 20 73 63 72 | define |this scr|
|00002aa0| 69 70 74 20 69 66 20 79 | 6f 75 72 20 64 65 6c 65 |ipt if y|our dele|
|00002ab0| 74 65 41 63 74 69 6f 6e | 53 63 72 69 70 74 20 63 |teAction|Script c|
|00002ac0| 61 6c 6c 73 20 69 74 20 | 77 69 74 68 20 74 68 65 |alls it |with the|
|00002ad0| 20 44 65 6c 65 74 65 20 | 76 69 65 77 20 6d 65 73 | Delete |view mes|
|00002ae0| 73 61 67 65 2e 20 54 68 | 65 20 61 72 67 75 6d 65 |sage. Th|e argume|
|00002af0| 6e 74 73 20 61 72 65 20 | 77 68 61 74 65 76 65 72 |nts are |whatever|
|00002b00| 20 79 6f 75 20 64 65 66 | 69 6e 65 20 74 68 65 6d | you def|ine them|
|00002b10| 20 74 6f 20 62 65 20 28 | 73 65 65 20 74 68 65 20 | to be (|see the |
|00002b20| 4e 6f 74 65 20 61 62 6f | 76 65 29 2e 20 54 68 65 |Note abo|ve). The|
|00002b30| 20 73 63 72 69 70 74 20 | 77 69 6c 6c 20 70 72 6f | script |will pro|
|00002b40| 62 61 62 6c 79 20 64 65 | 6c 65 74 65 20 79 6f 75 |bably de|lete you|
|00002b50| 72 20 72 65 61 6c 20 64 | 61 74 61 2e 20 41 6e 20 |r real d|ata. An |
|00002b60| 65 78 61 6d 70 6c 65 20 | 77 6f 75 6c 64 20 62 65 |example |would be|
|00002b70| 3a 0d 64 6f 44 65 6c 65 | 74 65 41 63 74 69 6f 6e |:.doDele|teAction|
|00002b80| 3a 20 66 75 6e 63 28 65 | 6e 74 72 79 2c 20 65 6e |: func(e|ntry, en|
|00002b90| 74 72 79 56 69 65 77 29 | 0d 62 65 67 69 6e 0d 09 |tryView)|.begin..|
|00002ba0| 45 6e 74 72 79 52 65 6d | 6f 76 65 46 72 6f 6d 53 |EntryRem|oveFromS|
|00002bb0| 6f 75 70 28 65 6e 74 72 | 79 29 3b 0d 09 65 6e 74 |oup(entr|y);..ent|
|00002bc0| 72 79 56 69 65 77 3a 64 | 72 61 77 46 72 6f 6d 53 |ryView:d|rawFromS|
|00002bd0| 6f 75 70 28 29 3b 0d 65 | 6e 64 0d 44 75 70 6c 69 |oup();.e|nd.Dupli|
|00002be0| 63 61 74 69 6e 67 0d 54 | 6f 20 73 75 70 70 6f 72 |cating.T|o suppor|
|00002bf0| 74 20 64 75 70 6c 69 63 | 61 74 69 6e 67 20 79 6f |t duplic|ating yo|
|00002c00| 75 20 6e 65 65 64 20 74 | 6f 20 61 64 64 20 61 6e |u need t|o add an|
|00002c10| 20 65 6e 74 72 79 20 74 | 6f 20 74 68 65 20 72 6f | entry t|o the ro|
|00002c20| 75 74 69 6e 67 20 66 72 | 61 6d 65 20 66 6f 72 20 |uting fr|ame for |
|00002c30| 64 75 70 6c 69 63 61 74 | 69 6e 67 2c 20 61 20 64 |duplicat|ing, a d|
|00002c40| 75 70 6c 69 63 61 74 65 | 20 73 63 72 69 70 74 20 |uplicate| script |
|00002c50| 74 6f 20 79 6f 75 72 20 | 61 70 70 6c 69 63 61 74 |to your |applicat|
|00002c60| 69 6f 6e 20 74 6f 20 72 | 65 63 65 69 76 65 20 74 |ion to r|eceive t|
|00002c70| 68 65 20 64 75 70 6c 69 | 63 61 74 65 20 72 6f 75 |he dupli|cate rou|
|00002c80| 74 65 2e 0d 52 6f 75 74 | 69 6e 67 20 46 72 61 6d |te..Rout|ing Fram|
|00002c90| 65 20 45 6e 74 72 79 0d | 54 68 65 20 65 6e 74 72 |e Entry.|The entr|
|00002ca0| 79 20 66 6f 72 20 64 75 | 70 6c 69 63 61 74 69 6e |y for du|plicatin|
|00002cb0| 67 20 68 61 73 20 74 68 | 69 73 20 66 6f 72 6d 3a |g has th|is form:|
|00002cc0| 0d 64 75 70 6c 69 63 61 | 74 65 3a 20 7b 0d 09 74 |.duplica|te: {..t|
|00002cd0| 69 74 6c 65 3a 20 22 44 | 75 70 6c 69 63 61 74 65 |itle: "D|uplicate|
|00002ce0| 22 2c 0d 09 72 6f 75 74 | 65 53 63 72 69 70 74 3a |",..rout|eScript:|
|00002cf0| 20 64 75 70 6c 69 63 61 | 74 65 41 63 74 69 6f 6e | duplica|teAction|
|00002d00| 53 63 72 69 70 74 7d 2c | 0d 54 68 65 20 75 73 65 |Script},|.The use|
|00002d10| 72 20 69 6e 74 65 72 66 | 61 63 65 20 63 6f 6e 76 |r interf|ace conv|
|00002d20| 65 6e 74 69 6f 6e 20 69 | 73 20 66 6f 72 20 74 68 |ention i|s for th|
|00002d30| 65 20 74 69 74 6c 65 20 | 74 6f 20 6a 75 73 74 20 |e title |to just |
|00002d40| 73 61 79 20 44 75 70 6c | 69 63 61 74 65 20 73 69 |say Dupl|icate si|
|00002d50| 6e 63 65 20 74 68 69 73 | 20 69 73 20 6e 6f 74 20 |nce this| is not |
|00002d60| 6c 69 6b 65 6c 79 20 74 | 6f 20 62 65 20 74 68 65 |likely t|o be the|
|00002d70| 20 66 69 72 73 74 20 69 | 74 65 6d 20 69 6e 20 74 | first i|tem in t|
|00002d80| 68 65 20 72 6f 75 74 69 | 6e 67 20 66 72 61 6d 65 |he routi|ng frame|
|00002d90| 2e 20 59 6f 75 20 63 61 | 6e 20 63 61 6c 6c 20 74 |. You ca|n call t|
|00002da0| 68 65 20 73 63 72 69 70 | 74 20 77 68 61 74 65 76 |he scrip|t whatev|
|00002db0| 65 72 20 79 6f 75 20 77 | 61 6e 74 2c 20 64 75 70 |er you w|ant, dup|
|00002dc0| 6c 69 63 61 74 65 41 63 | 74 69 6f 6e 53 63 72 69 |licateAc|tionScri|
|00002dd0| 70 74 20 69 73 20 6a 75 | 73 74 20 61 20 63 6f 6e |pt is ju|st a con|
|00002de0| 76 65 6e 74 69 6f 6e 2e | 0d 64 75 70 6c 69 63 61 |vention.|.duplica|
|00002df0| 74 65 41 63 74 69 6f 6e | 53 63 72 69 70 74 28 74 |teAction|Script(t|
|00002e00| 61 72 67 65 74 2c 20 74 | 61 72 67 65 74 56 69 65 |arget, t|argetVie|
|00002e10| 77 29 0d 54 68 65 20 6e | 61 6d 65 20 6f 66 20 74 |w).The n|ame of t|
|00002e20| 68 65 20 64 75 70 6c 69 | 63 61 74 65 20 73 63 72 |he dupli|cate scr|
|00002e30| 69 70 74 20 6d 75 73 74 | 20 63 6f 72 72 65 73 70 |ipt must| corresp|
|00002e40| 6f 6e 64 20 74 6f 20 74 | 68 65 20 6e 61 6d 65 20 |ond to t|he name |
|00002e50| 79 6f 75 20 73 70 65 63 | 69 66 69 65 64 20 69 6e |you spec|ified in|
|00002e60| 20 74 68 65 20 72 6f 75 | 74 65 53 63 72 69 70 74 | the rou|teScript|
|00002e70| 20 73 6c 6f 74 20 6f 66 | 20 74 68 65 20 72 6f 75 | slot of| the rou|
|00002e80| 74 69 6e 67 20 66 72 61 | 6d 65 20 65 6e 74 72 79 |ting fra|me entry|
|00002e90| 20 66 6f 72 20 64 75 70 | 6c 69 63 61 74 65 2e 20 | for dup|licate. |
|00002ea0| 54 68 65 20 74 77 6f 20 | 61 72 67 75 6d 65 6e 74 |The two |argument|
|00002eb0| 73 20 61 72 65 3a 0d 74 | 61 72 67 65 74 3a 20 74 |s are:.t|arget: t|
|00002ec0| 68 65 20 74 61 72 67 65 | 74 20 66 72 61 6d 65 2c |he targe|t frame,|
|00002ed0| 20 61 73 20 73 70 65 63 | 69 66 69 65 64 20 62 79 | as spec|ified by|
|00002ee0| 20 79 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f | your ap|plicatio|
|00002ef0| 6e 0d 74 61 72 67 65 74 | 56 69 65 77 3a 20 74 68 |n.target|View: th|
|00002f00| 65 20 74 61 72 67 65 74 | 20 76 69 65 77 20 61 73 |e target| view as|
|00002f10| 20 73 70 65 63 69 66 69 | 65 64 20 62 79 20 79 6f | specifi|ed by yo|
|00002f20| 75 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 0d 49 |ur appli|cation.I|
|00002f30| 6e 20 67 65 6e 65 72 61 | 6c 2c 20 79 6f 75 72 20 |n genera|l, your |
|00002f40| 64 75 70 6c 69 63 61 74 | 65 20 73 63 72 69 70 74 |duplicat|e script|
|00002f50| 20 77 69 6c 6c 20 70 75 | 74 20 61 20 6e 65 77 20 | will pu|t a new |
|00002f60| 65 6e 74 72 79 20 69 6e | 74 6f 20 74 68 65 20 73 |entry in|to the s|
|00002f70| 6f 75 70 20 74 68 61 74 | 20 69 73 20 61 20 64 75 |oup that| is a du|
|00002f80| 70 6c 69 63 61 74 65 20 | 6f 66 20 74 68 65 20 63 |plicate |of the c|
|00002f90| 75 72 72 65 6e 74 20 65 | 6e 74 72 79 2e 20 59 6f |urrent e|ntry. Yo|
|00002fa0| 75 20 6d 61 79 20 61 6c | 73 6f 20 77 61 6e 74 20 |u may al|so want |
|00002fb0| 74 6f 20 61 64 64 20 61 | 20 6e 65 77 20 76 69 65 |to add a| new vie|
|00002fc0| 77 20 66 6f 72 20 74 68 | 65 20 6e 65 77 20 64 61 |w for th|e new da|
|00002fd0| 74 61 20 69 74 65 6d 20 | 61 6e 64 20 73 65 74 20 |ta item |and set |
|00002fe0| 69 74 20 61 73 20 74 68 | 65 20 63 75 72 72 65 6e |it as th|e curren|
|00002ff0| 74 20 76 69 65 77 2e 0d | 41 6e 20 65 78 61 6d 70 |t view..|An examp|
|00003000| 6c 65 20 64 75 70 6c 69 | 63 61 74 65 20 73 63 72 |le dupli|cate scr|
|00003010| 69 70 74 20 6d 69 67 68 | 74 20 62 65 3a 0d 64 75 |ipt migh|t be:.du|
|00003020| 70 6c 69 63 61 74 65 41 | 63 74 69 6f 6e 53 63 72 |plicateA|ctionScr|
|00003030| 69 70 74 3a 20 66 75 6e | 63 28 74 61 72 67 65 74 |ipt: fun|c(target|
|00003040| 2c 20 74 61 72 67 65 74 | 56 69 65 77 29 0d 62 65 |, target|View).be|
|00003050| 67 69 6e 0d 09 2f 2f 20 | 6d 61 6b 65 20 61 20 63 |gin..// |make a c|
|00003060| 6f 70 79 20 6f 66 20 74 | 68 65 20 74 61 72 67 65 |opy of t|he targe|
|00003070| 74 0d 09 6c 6f 63 61 6c | 20 6e 65 77 49 74 65 6d |t..local| newItem|
|00003080| 20 3a 3d 20 63 6f 70 79 | 57 69 67 67 79 28 74 61 | := copy|Wiggy(ta|
|00003090| 72 67 65 74 29 3b 0d 09 | 2f 2f 20 75 70 64 61 74 |rget);..|// updat|
|000030a0| 65 20 74 68 65 20 76 69 | 65 77 0d 09 74 61 72 67 |e the vi|ew..targ|
|000030b0| 65 74 56 69 65 77 3a 64 | 72 61 77 46 72 6f 6d 53 |etView:d|rawFromS|
|000030c0| 6f 75 70 28 29 3b 0d 65 | 6e 64 0d 43 61 72 64 69 |oup();.e|nd.Cardi|
|000030d0| 6e 67 0d 54 6f 20 73 75 | 70 70 6f 72 74 20 63 61 |ng.To su|pport ca|
|000030e0| 72 64 69 6e 67 20 79 6f | 75 20 6e 65 65 64 20 74 |rding yo|u need t|
|000030f0| 6f 20 61 64 64 20 61 6e | 20 65 6e 74 72 79 20 74 |o add an| entry t|
|00003100| 6f 20 74 68 65 20 72 6f | 75 74 69 6e 67 20 66 72 |o the ro|uting fr|
|00003110| 61 6d 65 20 66 6f 72 20 | 63 61 72 64 69 6e 67 2c |ame for |carding,|
|00003120| 20 61 20 63 61 72 64 20 | 73 63 72 69 70 74 20 74 | a card |script t|
|00003130| 6f 20 79 6f 75 72 20 61 | 70 70 6c 69 63 61 74 69 |o your a|pplicati|
|00003140| 6f 6e 20 74 6f 20 72 65 | 63 65 69 76 65 20 74 68 |on to re|ceive th|
|00003150| 65 20 63 61 72 64 20 72 | 6f 75 74 65 2e 0d 52 6f |e card r|oute..Ro|
|00003160| 75 74 69 6e 67 20 46 72 | 61 6d 65 20 45 6e 74 72 |uting Fr|ame Entr|
|00003170| 79 0d 54 68 65 20 65 6e | 74 72 79 20 66 6f 72 20 |y.The en|try for |
|00003180| 64 75 70 6c 69 63 61 74 | 69 6e 67 20 68 61 73 20 |duplicat|ing has |
|00003190| 74 68 69 73 20 66 6f 72 | 6d 3a 0d 63 61 72 64 3a |this for|m:.card:|
|000031a0| 20 7b 0d 09 47 65 74 54 | 69 74 6c 65 3a 20 66 75 | {..GetT|itle: fu|
|000031b0| 6e 63 28 69 74 65 6d 29 | 0d 09 62 65 67 69 6e 0d |nc(item)|..begin.|
|000031c0| 09 09 69 66 20 69 74 65 | 6d 20 61 6e 64 20 6c 65 |..if ite|m and le|
|000031d0| 6e 67 74 68 28 47 65 74 | 53 74 6f 72 65 73 28 29 |ngth(Get|Stores()|
|000031e0| 29 20 3e 20 31 20 74 68 | 65 6e 0d 09 09 62 65 67 |) > 1 th|en...beg|
|000031f0| 69 6e 0d 09 09 09 69 66 | 20 65 6e 74 72 79 73 74 |in....if| entryst|
|00003200| 6f 72 65 28 69 74 65 6d | 29 20 3d 20 47 65 74 53 |ore(item|) = GetS|
|00003210| 74 6f 72 65 73 28 29 5b | 30 5d 20 74 68 65 6e 0d |tores()[|0] then.|
|00003220| 09 09 09 62 65 67 69 6e | 0d 09 09 09 09 22 4d 6f |...begin|....."Mo|
|00003230| 76 65 20 74 6f 20 63 61 | 72 64 22 3b 0d 09 09 09 |ve to ca|rd";....|
|00003240| 65 6e 64 0d 09 09 09 65 | 6c 73 65 20 62 65 67 69 |end....e|lse begi|
|00003250| 6e 0d 09 09 09 09 69 66 | 20 45 6e 74 72 79 53 74 |n.....if| EntrySt|
|00003260| 6f 72 65 28 69 74 65 6d | 29 3a 49 73 52 65 61 64 |ore(item|):IsRead|
|00003270| 4f 6e 6c 79 28 29 20 74 | 68 65 6e 0d 09 09 09 09 |Only() t|hen.....|
|00003280| 62 65 67 69 6e 0d 09 09 | 09 09 09 22 43 6f 70 79 |begin...|..."Copy|
|00003290| 20 66 72 6f 6d 20 63 61 | 72 64 22 3b 0d 09 09 09 | from ca|rd";....|
|000032a0| 09 65 6c 73 65 0d 09 09 | 09 09 09 22 4d 6f 76 65 |.else...|..."Move|
|000032b0| 20 66 72 6f 6d 20 63 61 | 72 64 22 3b 0d 09 09 09 | from ca|rd";....|
|000032c0| 65 6e 64 3b 0d 09 09 65 | 6e 64 3b 0d 09 09 65 6c |end;...e|nd;...el|
|000032d0| 73 65 0d 09 09 09 6e 69 | 6c 3b 0d 09 65 6e 64 2c |se....ni|l;..end,|
|000032e0| 0d 09 72 6f 75 74 53 63 | 72 69 70 74 3a 20 63 61 |..routSc|ript: ca|
|000032f0| 72 64 41 63 74 69 6f 6e | 53 63 72 69 70 74 7d 2c |rdAction|Script},|
|00003300| 0d 54 68 65 20 47 65 74 | 54 69 74 6c 65 20 66 75 |.The Get|Title fu|
|00003310| 6e 63 74 69 6f 6e 20 69 | 73 20 75 73 65 64 20 74 |nction i|s used t|
|00003320| 6f 20 61 73 73 69 67 6e | 20 61 20 74 69 74 6c 65 |o assign| a title|
|00003330| 20 74 6f 20 74 68 65 20 | 69 74 65 6d 20 69 6e 20 | to the |item in |
|00003340| 74 68 65 20 6c 69 73 74 | 20 6f 66 20 70 6f 73 73 |the list| of poss|
|00003350| 69 62 6c 65 20 72 6f 75 | 74 69 6e 67 20 61 63 74 |ible rou|ting act|
|00003360| 69 6f 6e 73 2e 20 54 68 | 65 20 6e 69 6c 20 6d 65 |ions. Th|e nil me|
|00003370| 61 6e 73 20 74 68 61 74 | 20 6e 6f 20 65 6e 74 72 |ans that| no entr|
|00003380| 79 20 77 69 6c 6c 20 62 | 65 20 70 72 65 73 65 6e |y will b|e presen|
|00003390| 74 2e 0d 54 68 65 20 72 | 6f 75 74 65 53 63 72 69 |t..The r|outeScri|
|000033a0| 70 74 20 69 73 20 61 20 | 73 79 6d 62 6f 6c 20 66 |pt is a |symbol f|
|000033b0| 6f 72 20 61 20 73 63 72 | 69 70 74 20 74 68 61 74 |or a scr|ipt that|
|000033c0| 20 79 6f 75 20 64 65 66 | 69 6e 65 20 69 6e 20 79 | you def|ine in y|
|000033d0| 6f 75 72 20 61 70 70 6c | 69 63 61 74 69 6f 6e 2e |our appl|ication.|
|000033e0| 20 59 6f 75 20 63 61 6e | 20 63 61 6c 6c 20 74 68 | You can| call th|
|000033f0| 65 20 73 63 72 69 70 74 | 20 77 68 61 74 65 76 65 |e script| whateve|
|00003400| 72 20 79 6f 75 20 77 61 | 6e 74 2c 20 63 61 72 64 |r you wa|nt, card|
|00003410| 41 63 74 69 6f 6e 53 63 | 72 69 70 74 20 69 73 20 |ActionSc|ript is |
|00003420| 6a 75 73 74 20 61 20 63 | 6f 6e 76 65 6e 74 69 6f |just a c|onventio|
|00003430| 6e 2e 0d 48 6f 77 65 76 | 65 72 2c 20 74 68 65 20 |n..Howev|er, the |
|00003440| 72 6f 6f 74 20 76 69 65 | 77 20 63 6f 6e 74 61 69 |root vie|w contai|
|00003450| 6e 73 20 61 20 63 61 72 | 64 41 63 74 69 6f 6e 53 |ns a car|dActionS|
|00003460| 63 72 69 70 74 20 74 68 | 61 74 20 77 69 6c 6c 20 |cript th|at will |
|00003470| 6d 6f 76 65 20 79 6f 75 | 72 20 64 61 74 61 20 61 |move you|r data a|
|00003480| 6e 64 20 74 68 65 6e 20 | 64 6f 20 61 20 42 72 6f |nd then |do a Bro|
|00003490| 61 64 63 61 73 74 53 6f | 75 70 43 68 61 6e 67 65 |adcastSo|upChange|
|000034a0| 20 6d 65 73 73 61 67 65 | 2e 20 54 68 69 73 20 6d | message|. This m|
|000034b0| 65 61 6e 73 20 74 68 61 | 74 20 69 66 20 79 6f 75 |eans tha|t if you|
|000034c0| 20 64 6f 20 6e 6f 74 20 | 64 65 66 69 6e 65 20 61 | do not |define a|
|000034d0| 20 63 61 72 64 41 63 74 | 69 6f 6e 53 63 72 69 70 | cardAct|ionScrip|
|000034e0| 74 20 66 6f 72 20 79 6f | 75 72 20 61 70 70 6c 69 |t for yo|ur appli|
|000034f0| 63 61 74 69 6f 6e 2c 20 | 74 68 65 20 64 65 66 61 |cation, |the defa|
|00003500| 75 6c 74 20 6f 6e 65 20 | 77 69 6c 6c 20 62 65 20 |ult one |will be |
|00003510| 75 73 65 64 20 d1 20 20 | 6c 65 73 73 20 77 6f 72 |used . |less wor|
|00003520| 6b 20 66 6f 72 20 79 6f | 75 2e 0d 42 65 74 74 65 |k for yo|u..Bette|
|00003530| 72 20 73 74 69 6c 6c 2c | 20 79 6f 75 20 64 6f 20 |r still,| you do |
|00003540| 6e 6f 74 20 6e 65 65 64 | 20 74 6f 20 74 79 70 65 |not need| to type|
|00003550| 20 6d 6f 73 74 20 6f 66 | 20 74 68 65 20 63 6f 64 | most of| the cod|
|00003560| 65 20 69 6e 2e 20 54 68 | 65 20 63 61 72 64 20 66 |e in. Th|e card f|
|00003570| 72 61 6d 65 20 65 78 69 | 73 74 73 20 69 6e 20 52 |rame exi|sts in R|
|00003580| 4f 4d 20 61 6e 64 20 63 | 61 6e 20 62 65 20 61 63 |OM and c|an be ac|
|00003590| 63 65 73 73 65 64 20 62 | 79 20 74 68 65 20 63 6f |cessed b|y the co|
|000035a0| 6e 73 74 61 6e 74 20 52 | 4f 4d 5f 63 61 72 64 61 |nstant R|OM_carda|
|000035b0| 63 74 69 6f 6e 2e 20 54 | 68 61 74 20 6d 65 61 6e |ction. T|hat mean|
|000035c0| 73 20 74 68 65 20 63 61 | 72 64 20 65 6e 74 72 79 |s the ca|rd entry|
|000035d0| 20 69 6e 20 79 6f 75 72 | 20 72 6f 75 74 69 6e 67 | in your| routing|
|000035e0| 20 66 72 61 6d 65 20 77 | 69 6c 6c 20 6c 6f 6f 6b | frame w|ill look|
|000035f0| 20 6c 69 6b 65 20 74 68 | 69 73 3a 0d 63 61 72 64 | like th|is:.card|
|00003600| 3a 20 52 4f 4d 5f 63 61 | 72 64 61 63 74 69 6f 6e |: ROM_ca|rdaction|
|00003610| 0d 43 61 72 64 53 63 72 | 69 70 74 28 74 61 72 67 |.CardScr|ipt(targ|
|00003620| 65 74 2c 20 74 61 72 67 | 65 74 56 69 65 77 29 0d |et, targ|etView).|
|00003630| 49 66 20 79 6f 75 20 72 | 65 61 6c 6c 79 20 77 61 |If you r|eally wa|
|00003640| 6e 74 20 74 6f 20 64 65 | 66 69 6e 65 20 74 68 69 |nt to de|fine thi|
|00003650| 73 20 73 63 72 69 70 74 | 2c 20 69 74 20 73 68 6f |s script|, it sho|
|00003660| 75 6c 64 20 6d 6f 76 65 | 2f 63 6f 70 79 20 74 68 |uld move|/copy th|
|00003670| 65 20 74 61 72 67 65 74 | 20 66 72 6f 6d 20 69 74 |e target| from it|
|00003680| 73 20 63 75 72 72 65 6e | 74 20 73 6f 75 70 20 74 |s curren|t soup t|
|00003690| 6f 20 6f 72 20 66 72 6f | 6d 20 74 68 65 20 63 61 |o or fro|m the ca|
|000036a0| 72 64 2e 20 54 68 65 20 | 47 65 74 54 69 74 6c 65 |rd. The |GetTitle|
|000036b0| 20 66 75 6e 63 74 69 6f | 6e 20 61 62 6f 76 65 20 | functio|n above |
|000036c0| 73 68 6f 77 73 20 79 6f | 75 20 68 6f 77 20 74 6f |shows yo|u how to|
|000036d0| 20 64 65 74 65 72 6d 69 | 6e 65 20 77 68 65 72 65 | determi|ne where|
|000036e0| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 65 6e 74 | the cur|rent ent|
|000036f0| 72 79 20 69 73 2e 20 59 | 6f 75 20 63 6f 75 6c 64 |ry is. Y|ou could|
|00003700| 20 75 73 65 20 74 68 61 | 74 20 66 75 6e 63 74 69 | use tha|t functi|
|00003710| 6f 6e 20 61 6e 64 20 69 | 6e 73 65 72 74 20 74 68 |on and i|nsert th|
|00003720| 65 20 61 70 70 72 6f 70 | 72 69 61 74 65 20 63 6f |e approp|riate co|
|00003730| 64 65 20 77 68 65 72 65 | 20 74 68 65 20 73 74 72 |de where| the str|
|00003740| 69 6e 67 73 20 61 72 65 | 20 72 65 74 75 72 6e 65 |ings are| returne|
|00003750| 64 2e 0d 74 61 72 67 65 | 74 3a 20 74 68 65 20 74 |d..targe|t: the t|
|00003760| 61 72 67 65 74 20 66 72 | 61 6d 65 2c 20 61 73 20 |arget fr|ame, as |
|00003770| 73 70 65 63 69 66 69 65 | 64 20 62 79 20 79 6f 75 |specifie|d by you|
|00003780| 72 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 0d 74 61 |r applic|ation.ta|
|00003790| 72 67 65 74 56 69 65 77 | 3a 20 74 68 65 20 74 61 |rgetView|: the ta|
|000037a0| 72 67 65 74 20 76 69 65 | 77 20 61 73 20 73 70 65 |rget vie|w as spe|
|000037b0| 63 69 66 69 65 64 20 62 | 79 20 79 6f 75 72 20 61 |cified b|y your a|
|000037c0| 70 70 6c 69 63 61 74 69 | 6f 6e 0d 33 2e 20 42 65 |pplicati|on.3. Be|
|000037d0| 61 6d 69 6e 67 0d 53 75 | 70 70 6f 72 74 20 66 6f |aming.Su|pport fo|
|000037e0| 72 20 73 65 6e 64 69 6e | 67 20 62 65 61 6d 73 20 |r sendin|g beams |
|000037f0| 69 73 20 74 72 69 76 69 | 61 6c 3b 20 20 6d 6f 72 |is trivi|al; mor|
|00003800| 65 20 77 6f 72 6b 20 69 | 73 20 72 65 71 75 69 72 |e work i|s requir|
|00003810| 65 64 20 74 6f 20 73 75 | 70 70 6f 72 74 20 72 65 |ed to su|pport re|
|00003820| 63 65 69 76 69 6e 67 20 | 69 6e 63 6f 6d 69 6e 67 |ceiving |incoming|
|00003830| 20 64 61 74 61 2e 0d 52 | 6f 75 74 69 6e 67 20 46 | data..R|outing F|
|00003840| 72 61 6d 65 20 45 6e 74 | 72 79 0d 54 68 65 20 65 |rame Ent|ry.The e|
|00003850| 6e 74 72 79 20 66 6f 72 | 20 62 65 61 6d 69 6e 67 |ntry for| beaming|
|00003860| 20 28 6f 72 20 7a 61 70 | 70 69 6e 67 29 20 68 61 | (or zap|ping) ha|
|00003870| 73 20 74 68 69 73 20 66 | 6f 72 6d 3a 0d 7a 61 70 |s this f|orm:.zap|
|00003880| 3a 20 7b 0d 09 09 74 69 | 74 6c 65 3a 20 22 42 65 |: {...ti|tle: "Be|
|00003890| 61 6d 22 2c 0d 09 09 72 | 6f 75 74 65 46 6f 72 6d |am",...r|outeForm|
|000038a0| 3a 20 27 7a 61 70 53 6c | 69 70 7d 2c 0d 54 68 65 |: 'zapSl|ip},.The|
|000038b0| 20 72 6f 75 74 65 46 6f | 72 6d 20 73 6c 6f 74 20 | routeFo|rm slot |
|000038c0| 63 6f 6e 74 61 69 6e 73 | 20 61 20 73 79 6d 62 6f |contains| a symbo|
|000038d0| 6c 20 66 6f 72 20 74 68 | 65 20 73 6c 69 70 20 74 |l for th|e slip t|
|000038e0| 68 61 74 20 77 69 6c 6c | 20 62 65 20 73 68 6f 77 |hat will| be show|
|000038f0| 6e 20 74 6f 20 74 68 65 | 20 75 73 65 72 20 77 68 |n to the| user wh|
|00003900| 65 6e 20 74 68 65 79 20 | 70 69 63 6b 20 74 68 61 |en they |pick tha|
|00003910| 74 20 74 79 70 65 20 6f | 66 20 72 6f 75 74 69 6e |t type o|f routin|
|00003920| 67 20 66 72 6f 6d 20 74 | 68 65 20 61 63 74 69 6f |g from t|he actio|
|00003930| 6e 20 62 75 74 74 6f 6e | 2e 20 54 68 69 73 20 73 |n button|. This s|
|00003940| 6c 69 70 20 69 73 20 75 | 73 65 64 20 74 6f 20 67 |lip is u|sed to g|
|00003950| 65 74 20 74 68 65 20 69 | 6e 66 6f 72 6d 61 74 69 |et the i|nformati|
|00003960| 6f 6e 20 75 73 65 64 20 | 74 6f 20 72 6f 75 74 65 |on used |to route|
|00003970| 20 74 68 65 20 74 61 72 | 67 65 74 2e 20 7a 61 70 | the tar|get. zap|
|00003980| 53 6c 69 70 20 69 73 20 | 74 68 65 20 73 74 61 6e |Slip is |the stan|
|00003990| 64 61 72 64 20 73 79 73 | 74 65 6d 20 62 65 61 6d |dard sys|tem beam|
|000039a0| 69 6e 67 20 73 6c 69 70 | 2e 20 54 68 65 72 65 20 |ing slip|. There |
|000039b0| 69 73 20 73 68 6f 75 6c | 64 20 62 65 20 6e 6f 20 |is shoul|d be no |
|000039c0| 6e 65 65 64 20 74 6f 20 | 63 72 65 61 74 65 20 61 |need to |create a|
|000039d0| 20 63 75 73 74 6f 6d 20 | 73 6c 69 70 2e 0d 4e 6f | custom |slip..No|
|000039e0| 74 65 20 74 68 61 74 20 | 62 65 61 6d 69 6e 67 20 |te that |beaming |
|000039f0| 77 69 6c 6c 20 75 73 65 | 20 74 68 65 20 74 61 72 |will use| the tar|
|00003a00| 67 65 74 20 73 6c 6f 74 | 20 6f 66 20 74 68 65 20 |get slot| of the |
|00003a10| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 74 6f 20 67 |applicat|ion to g|
|00003a20| 65 74 20 74 68 65 20 64 | 61 74 61 20 69 74 20 77 |et the d|ata it w|
|00003a30| 69 6c 6c 20 73 65 6e 64 | 2e 20 49 66 20 74 68 65 |ill send|. If the|
|00003a40| 72 65 20 69 73 20 6e 6f | 20 74 61 72 67 65 74 20 |re is no| target |
|00003a50| 73 6c 6f 74 2c 20 69 74 | 20 77 69 6c 6c 20 6c 6f |slot, it| will lo|
|00003a60| 6f 6b 20 66 6f 72 20 61 | 20 73 65 74 75 70 54 61 |ok for a| setupTa|
|00003a70| 72 67 65 74 20 66 75 6e | 63 74 69 6f 6e 20 74 68 |rget fun|ction th|
|00003a80| 61 74 20 77 69 6c 6c 20 | 62 65 20 63 61 6c 6c 65 |at will |be calle|
|00003a90| 64 20 28 73 65 65 20 73 | 65 63 74 69 6f 6e 20 31 |d (see s|ection 1|
|00003aa0| 29 2e 20 49 66 20 66 6f | 72 20 73 6f 6d 65 20 72 |). If fo|r some r|
|00003ab0| 65 61 73 6f 6e 20 28 6c | 69 6b 65 20 6d 75 6c 74 |eason (l|ike mult|
|00003ac0| 69 70 61 72 74 20 62 65 | 61 6d 69 6e 67 29 20 79 |ipart be|aming) y|
|00003ad0| 6f 75 20 61 72 65 20 73 | 65 74 74 69 6e 67 20 75 |ou are s|etting u|
|00003ae0| 70 20 79 6f 75 72 20 6f | 77 6e 20 6f 75 74 62 6f |p your o|wn outbo|
|00003af0| 78 20 65 6e 74 72 69 65 | 73 2c 20 79 6f 75 20 6d |x entrie|s, you m|
|00003b00| 75 73 74 20 73 65 74 20 | 74 68 65 20 62 6f 64 79 |ust set |the body|
|00003b10| 20 73 6c 6f 74 20 6f 66 | 20 66 69 65 6c 64 73 20 | slot of| fields |
|00003b20| 74 6f 20 74 68 65 20 64 | 61 74 61 20 74 68 61 74 |to the d|ata that|
|00003b30| 20 77 69 6c 6c 20 62 65 | 20 73 65 6e 74 20 28 64 | will be| sent (d|
|00003b40| 6f 20 74 68 69 73 20 69 | 6e 20 74 68 65 20 73 65 |o this i|n the se|
|00003b50| 74 75 70 52 6f 75 74 69 | 6e 67 53 6c 69 70 20 6d |tupRouti|ngSlip m|
|00003b60| 65 74 68 6f 64 29 2e 0d | 50 75 74 41 77 61 79 28 |ethod)..|PutAway(|
|00003b70| 69 74 65 6d 29 0d 57 68 | 65 6e 20 73 6f 6d 65 6f |item).Wh|en someo|
|00003b80| 6e 65 20 62 65 61 6d 73 | 20 6f 72 20 65 6d 61 69 |ne beams| or emai|
|00003b90| 6c 73 20 61 6e 20 6f 62 | 6a 65 63 74 20 74 6f 20 |ls an ob|ject to |
|00003ba0| 79 6f 75 20 61 6e 64 20 | 79 6f 75 20 63 68 6f 6f |you and |you choo|
|00003bb0| 73 65 20 22 61 75 74 6f | 20 70 75 74 20 61 77 61 |se "auto| put awa|
|00003bc0| 79 22 20 28 66 6f 72 20 | 62 65 61 6d 69 6e 67 20 |y" (for |beaming |
|00003bd0| 6f 6e 6c 79 29 20 6f 72 | 20 22 70 75 74 20 61 77 |only) or| "put aw|
|00003be0| 61 79 22 20 28 66 6f 72 | 20 65 6d 61 69 6c 20 61 |ay" (for| email a|
|00003bf0| 6e 64 20 62 65 61 6d 69 | 6e 67 29 2c 20 74 68 69 |nd beami|ng), thi|
|00003c00| 73 20 6d 65 73 73 61 67 | 65 20 69 73 20 73 65 6e |s messag|e is sen|
|00003c10| 74 20 74 6f 20 79 6f 75 | 72 20 61 70 70 6c 69 63 |t to you|r applic|
|00003c20| 61 74 69 6f 6e 20 74 6f | 20 74 65 6c 6c 20 69 74 |ation to| tell it|
|00003c30| 20 74 6f 20 73 74 6f 72 | 65 20 74 68 65 20 6e 65 | to stor|e the ne|
|00003c40| 77 20 69 74 65 6d 20 69 | 6e 20 74 68 65 20 72 65 |w item i|n the re|
|00003c50| 63 65 69 76 69 6e 67 20 | 4e 65 77 74 6f 6e 20 73 |ceiving |Newton s|
|00003c60| 6f 75 70 2e 20 50 75 74 | 41 77 61 79 20 69 73 20 |oup. Put|Away is |
|00003c70| 61 6c 73 6f 20 75 73 65 | 64 20 62 79 20 6d 61 69 |also use|d by mai|
|00003c80| 6c 20 28 61 6e 64 20 63 | 6f 75 6c 64 20 62 65 20 |l (and c|ould be |
|00003c90| 75 73 65 64 20 62 79 20 | 6f 74 68 65 72 20 73 65 |used by |other se|
|00003ca0| 72 76 69 63 65 73 29 2e | 0d 54 68 65 20 6d 65 73 |rvices).|.The mes|
|00003cb0| 73 61 67 65 20 68 61 73 | 20 6f 6e 65 20 61 72 67 |sage has| one arg|
|00003cc0| 75 6d 65 6e 74 2c 20 74 | 68 61 74 20 69 73 20 61 |ument, t|hat is a|
|00003cd0| 20 66 72 61 6d 65 2e 20 | 54 68 65 20 6f 6e 6c 79 | frame. |The only|
|00003ce0| 20 73 6c 6f 74 20 79 6f | 75 20 6e 65 65 64 20 69 | slot yo|u need i|
|00003cf0| 73 20 74 68 65 20 6f 6e | 65 20 63 61 6c 6c 65 64 |s the on|e called|
|00003d00| 20 62 6f 64 79 2e 20 54 | 68 69 73 20 69 73 20 74 | body. T|his is t|
|00003d10| 68 65 20 66 72 61 6d 65 | 20 74 68 61 74 20 79 6f |he frame| that yo|
|00003d20| 75 20 77 69 6c 6c 20 61 | 64 64 20 74 6f 20 79 6f |u will a|dd to yo|
|00003d30| 75 72 20 73 6f 75 70 2e | 20 41 6e 20 65 78 61 6d |ur soup.| An exam|
|00003d40| 70 6c 65 20 73 63 72 69 | 70 74 20 69 73 3a 0d 66 |ple scri|pt is:.f|
|00003d50| 75 6e 63 28 69 74 65 6d | 29 0d 62 65 67 69 6e 0d |unc(item|).begin.|
|00003d60| 2f 2f 20 4e 4f 54 45 3a | 20 6d 61 79 20 62 65 20 |// NOTE:| may be |
|00003d70| 63 61 6c 6c 65 64 20 77 | 68 65 6e 20 74 68 65 20 |called w|hen the |
|00003d80| 61 70 70 20 69 73 20 63 | 6c 6f 73 65 64 0d 09 6c |app is c|losed..l|
|00003d90| 6f 63 61 6c 20 6e 65 77 | 45 6e 74 72 79 3b 0d 09 |ocal new|Entry;..|
|00003da0| 2f 2f 20 6c 6f 6f 6b 20 | 61 74 20 62 6f 64 79 20 |// look |at body |
|00003db0| 73 6c 6f 74 20 74 6f 20 | 67 65 74 20 74 68 65 20 |slot to |get the |
|00003dc0| 6e 65 77 20 66 72 61 6d | 65 0d 09 6e 65 77 45 6e |new fram|e..newEn|
|00003dd0| 74 72 79 20 3a 3d 20 69 | 74 65 6d 2e 62 6f 64 79 |try := i|tem.body|
|00003de0| 3b 0d 09 2f 2f 20 6d 61 | 6b 65 20 73 75 72 65 20 |;..// ma|ke sure |
|00003df0| 74 68 61 74 20 66 69 6c | 69 6e 67 20 66 6f 6c 64 |that fil|ing fold|
|00003e00| 65 72 20 65 78 69 73 74 | 73 0d 09 2f 2f 20 6f 6e |er exist|s..// on|
|00003e10| 20 74 68 69 73 20 4e 65 | 77 74 6f 6e 2c 20 6f 72 | this Ne|wton, or|
|00003e20| 20 6e 69 6c 20 69 74 20 | 6f 75 74 20 69 66 20 6e | nil it |out if n|
|00003e30| 6f 74 0d 09 43 68 65 63 | 6b 54 68 61 74 46 6f 6c |ot..Chec|kThatFol|
|00003e40| 64 65 72 45 78 69 73 74 | 73 28 6e 65 77 45 6e 74 |derExist|s(newEnt|
|00003e50| 72 79 29 3b 0d 09 2f 2f | 20 67 65 74 20 74 68 65 |ry);..//| get the|
|00003e60| 20 73 6f 75 70 20 74 6f | 20 73 74 6f 72 65 20 69 | soup to| store i|
|00003e70| 74 20 69 6e 0d 09 6c 6f | 63 61 6c 20 73 6f 75 70 |t in..lo|cal soup|
|00003e80| 20 3a 3d 20 47 65 74 55 | 6e 69 6f 6e 53 6f 75 70 | := GetU|nionSoup|
|00003e90| 28 22 57 69 67 67 79 53 | 6f 75 70 22 29 3b 0d 09 |("WiggyS|oup");..|
|00003ea0| 69 66 20 73 6f 75 70 20 | 74 68 65 6e 0d 09 62 65 |if soup |then..be|
|00003eb0| 67 69 6e 0d 09 09 2f 2f | 20 61 64 64 20 74 68 65 |gin...//| add the|
|00003ec0| 20 66 72 61 6d 65 20 74 | 6f 20 74 68 65 20 73 6f | frame t|o the so|
|00003ed0| 75 70 0d 09 09 73 6f 75 | 70 3a 41 64 64 54 6f 44 |up...sou|p:AddToD|
|00003ee0| 65 66 61 75 6c 74 53 74 | 6f 72 65 28 6e 65 77 45 |efaultSt|ore(newE|
|00003ef0| 6e 74 72 79 29 3b 0d 09 | 09 2f 2f 20 69 6e 66 6f |ntry);..|.// info|
|00003f00| 72 6d 20 61 70 70 73 20 | 74 68 61 74 20 74 68 65 |rm apps |that the|
|00003f10| 20 73 6f 75 70 20 68 61 | 73 20 63 68 61 6e 67 65 | soup ha|s change|
|00003f20| 64 0d 09 09 42 72 6f 61 | 64 63 61 73 74 53 6f 75 |d...Broa|dcastSou|
|00003f30| 70 43 68 61 6e 67 65 28 | 22 57 69 67 67 79 53 6f |pChange(|"WiggySo|
|00003f40| 75 70 22 29 3b 0d 09 65 | 6e 64 3b 0d 65 6e 64 3b |up");..e|nd;.end;|
|00003f50| 0d 57 61 72 6e 69 6e 67 | 3a 20 50 75 74 41 77 61 |.Warning|: PutAwa|
|00003f60| 79 20 63 61 6e 20 67 65 | 74 20 63 61 6c 6c 65 64 |y can ge|t called|
|00003f70| 20 77 68 65 6e 20 79 6f | 75 72 20 61 70 70 6c 69 | when yo|ur appli|
|00003f80| 63 61 74 69 6f 6e 20 69 | 73 20 63 6c 6f 73 65 64 |cation i|s closed|
|00003f90| 2e 20 54 68 69 73 20 6d | 65 61 6e 73 20 79 6f 75 |. This m|eans you|
|00003fa0| 20 63 61 6e 20 6e 6f 74 | 20 72 65 6c 79 20 6f 6e | can not| rely on|
|00003fb0| 20 61 6e 79 74 68 69 6e | 67 20 74 68 61 74 20 79 | anythin|g that y|
|00003fc0| 6f 75 20 73 65 74 20 75 | 70 20 69 6e 20 70 6c 61 |ou set u|p in pla|
|00003fd0| 63 65 73 20 6c 69 6b 65 | 20 74 68 65 20 76 69 65 |ces like| the vie|
|00003fe0| 77 53 65 74 75 70 46 6f | 72 6d 53 63 72 69 70 74 |wSetupFo|rmScript|
|00003ff0| 20 65 78 69 73 74 69 6e | 67 2e 20 54 68 69 73 20 | existin|g. This |
|00004000| 69 73 20 74 72 75 65 20 | 66 6f 72 20 6d 65 73 73 |is true |for mess|
|00004010| 61 67 65 73 20 74 68 61 | 74 20 61 72 65 20 73 65 |ages tha|t are se|
|00004020| 6e 74 20 66 72 6f 6d 20 | 79 6f 75 72 20 50 75 74 |nt from |your Put|
|00004030| 41 77 61 79 20 73 63 72 | 69 70 74 2e 0d 41 20 67 |Away scr|ipt..A g|
|00004040| 6f 6f 64 20 65 78 61 6d | 70 6c 65 20 69 73 20 74 |ood exam|ple is t|
|00004050| 68 65 20 42 72 6f 61 64 | 43 61 73 74 53 6f 75 70 |he Broad|CastSoup|
|00004060| 43 68 61 6e 67 65 20 63 | 61 6c 6c 20 6d 61 64 65 |Change c|all made|
|00004070| 20 61 62 6f 76 65 2e 20 | 49 74 20 77 69 6c 6c 20 | above. |It will |
|00004080| 63 61 75 73 65 20 74 68 | 65 20 53 6f 75 70 43 68 |cause th|e SoupCh|
|00004090| 61 6e 67 65 64 20 73 63 | 72 69 70 74 20 69 6e 20 |anged sc|ript in |
|000040a0| 79 6f 75 72 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |your app|lication|
|000040b0| 20 74 6f 20 62 65 20 63 | 61 6c 6c 65 64 2c 20 61 | to be c|alled, a|
|000040c0| 6e 64 20 79 6f 75 72 20 | 61 70 70 6c 69 63 61 74 |nd your |applicat|
|000040d0| 69 6f 6e 20 6d 61 79 20 | 6e 6f 74 20 62 65 20 6f |ion may |not be o|
|000040e0| 70 65 6e 2e 20 53 6f 20 | 69 66 20 79 6f 75 72 20 |pen. So |if your |
|000040f0| 53 6f 75 70 43 68 61 6e | 67 65 64 20 73 63 72 69 |SoupChan|ged scri|
|00004100| 70 74 20 61 74 74 65 6d | 70 74 73 20 74 6f 20 75 |pt attem|pts to u|
|00004110| 70 64 61 74 65 20 79 6f | 75 72 20 64 69 73 70 6c |pdate yo|ur displ|
|00004120| 61 79 20 62 61 73 65 64 | 20 6f 6e 20 74 68 65 20 |ay based| on the |
|00004130| 6e 65 77 20 64 61 74 61 | 2c 20 79 6f 75 20 77 69 |new data|, you wi|
|00004140| 6c 6c 20 63 72 61 73 68 | 2e 20 4d 61 6b 65 20 73 |ll crash|. Make s|
|00004150| 75 72 65 20 79 6f 75 20 | 63 68 65 63 6b 20 69 66 |ure you |check if|
|00004160| 20 79 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f | your ap|plicatio|
|00004170| 6e 20 69 73 20 6f 70 65 | 6e 20 77 69 74 68 20 73 |n is ope|n with s|
|00004180| 6f 6d 65 74 68 69 6e 67 | 20 6c 69 6b 65 3a 20 0d |omething| like: .|
|00004190| 69 66 20 56 69 73 69 62 | 6c 65 28 47 65 74 52 6f |if Visib|le(GetRo|
|000041a0| 6f 74 28 29 2e 28 61 70 | 70 53 79 6d 62 6f 6c 29 |ot().(ap|pSymbol)|
|000041b0| 29 20 74 68 65 6e 20 2e | 2e 2e 0d 34 2e 20 41 54 |) then .|...4. AT|
|000041c0| 52 20 28 41 6c 6c 20 74 | 68 65 20 52 65 73 74 20 |R (All t|he Rest |
|000041d0| 2d 20 50 72 69 6e 74 69 | 6e 67 2c 20 46 61 78 69 |- Printi|ng, Faxi|
|000041e0| 6e 67 2c 20 4d 61 69 6c | 69 6e 67 29 0d 41 6c 6c |ng, Mail|ing).All|
|000041f0| 20 74 68 65 20 6f 74 68 | 65 72 20 74 79 70 65 73 | the oth|er types|
|00004200| 20 6f 66 20 72 6f 75 74 | 69 6e 67 20 72 65 71 75 | of rout|ing requ|
|00004210| 69 72 65 20 74 77 6f 20 | 74 68 69 6e 67 73 3a 20 |ire two |things: |
|00004220| 61 20 72 6f 75 74 69 6e | 67 20 66 72 61 6d 65 20 |a routin|g frame |
|00004230| 65 6e 74 72 79 20 61 6e | 64 20 6f 6e 65 20 6f 72 |entry an|d one or|
|00004240| 20 6d 6f 72 65 20 66 6f | 72 6d 61 74 73 2e 20 54 | more fo|rmats. T|
|00004250| 68 65 20 66 6f 72 6d 61 | 74 73 20 61 72 65 20 77 |he forma|ts are w|
|00004260| 68 61 74 20 74 61 6b 65 | 20 74 69 6d 65 2e 0d 52 |hat take| time..R|
|00004270| 6f 75 74 69 6e 67 20 46 | 72 61 6d 65 20 45 6e 74 |outing F|rame Ent|
|00004280| 72 79 0d 54 68 65 20 72 | 6f 75 74 69 6e 67 20 66 |ry.The r|outing f|
|00004290| 72 61 6d 65 20 65 6e 74 | 72 69 65 73 20 66 6f 72 |rame ent|ries for|
|000042a0| 20 70 72 69 6e 74 69 6e | 67 2c 20 66 61 78 69 6e | printin|g, faxin|
|000042b0| 67 20 61 6e 64 20 6d 61 | 69 6c 69 6e 67 20 68 61 |g and ma|iling ha|
|000042c0| 76 65 20 61 20 73 6c 69 | 67 68 74 6c 79 20 64 69 |ve a sli|ghtly di|
|000042d0| 66 66 65 72 65 6e 74 20 | 66 6f 72 6d 61 74 20 66 |fferent |format f|
|000042e0| 72 6f 6d 20 74 68 65 20 | 6f 74 68 65 72 73 2e 20 |rom the |others. |
|000042f0| 54 68 65 20 67 65 6e 65 | 72 61 6c 20 66 6f 72 6d |The gene|ral form|
|00004300| 20 69 73 3a 0d 72 6f 75 | 74 65 54 79 70 65 3a 20 | is:.rou|teType: |
|00004310| 7b 0d 09 74 69 74 6c 65 | 3a 20 3c 73 6f 6d 65 20 |{..title|: <some |
|00004320| 74 69 74 6c 65 3e 0d 09 | 72 6f 75 74 65 46 6f 72 |title>..|routeFor|
|00004330| 6d 3a 20 3c 61 20 73 6c | 69 70 20 74 79 70 65 3e |m: <a sl|ip type>|
|00004340| 0d 09 66 6f 72 6d 61 74 | 73 3a 20 3c 66 6f 72 6d |..format|s: <form|
|00004350| 61 74 20 61 72 72 61 79 | 3e 7d 0d 72 6f 75 74 65 |at array|>}.route|
|00004360| 54 79 70 65 3a 20 63 61 | 6e 20 62 65 20 61 6e 79 |Type: ca|n be any|
|00004370| 74 68 69 6e 67 2c 20 62 | 75 74 20 69 73 20 75 73 |thing, b|ut is us|
|00004380| 75 61 6c 6c 79 20 70 72 | 69 6e 74 2c 20 66 61 78 |ually pr|int, fax|
|00004390| 20 6f 72 20 6d 61 69 6c | 0d 74 69 74 6c 65 3a 20 | or mail|.title: |
|000043a0| 61 20 74 69 74 6c 65 20 | 74 68 61 74 20 6d 61 6b |a title |that mak|
|000043b0| 65 73 20 73 65 6e 73 65 | 20 6c 69 6b 65 20 50 72 |es sense| like Pr|
|000043c0| 69 6e 74 20 57 69 67 67 | 79 20 6f 72 20 46 61 78 |int Wigg|y or Fax|
|000043d0| 0d 72 6f 75 74 65 46 6f | 72 6d 3a 20 61 20 73 79 |.routeFo|rm: a sy|
|000043e0| 6d 62 6f 6c 20 66 6f 72 | 20 61 20 73 6c 69 70 20 |mbol for| a slip |
|000043f0| 75 73 65 64 20 74 6f 20 | 67 65 74 20 69 6e 66 6f |used to |get info|
|00004400| 72 6d 61 74 69 6f 6e 20 | 66 6f 72 20 74 68 65 20 |rmation |for the |
|00004410| 72 6f 75 74 65 2e 20 54 | 68 69 73 20 69 73 20 65 |route. T|his is e|
|00004420| 69 74 68 65 72 20 70 72 | 69 6e 74 53 6c 69 70 2c |ither pr|intSlip,|
|00004430| 20 66 61 78 53 6c 69 70 | 2c 6f 72 20 6d 61 69 6c | faxSlip|,or mail|
|00004440| 53 6c 69 70 0d 66 6f 72 | 6d 61 74 73 3a 20 61 6e |Slip.for|mats: an|
|00004450| 20 61 72 72 61 79 20 6f | 66 20 66 6f 72 6d 61 74 | array o|f format|
|00004460| 73 20 66 6f 72 20 74 68 | 65 20 72 6f 75 74 65 64 |s for th|e routed|
|00004470| 20 74 68 69 6e 67 20 28 | 73 65 65 20 66 6f 72 6d | thing (|see form|
|00004480| 61 74 73 20 62 65 6c 6f | 77 29 0d 41 6e 20 65 78 |ats belo|w).An ex|
|00004490| 61 6d 70 6c 65 20 72 6f | 75 74 69 6e 67 20 66 72 |ample ro|uting fr|
|000044a0| 61 6d 65 20 65 6e 74 72 | 79 20 66 6f 72 20 70 72 |ame entr|y for pr|
|000044b0| 69 6e 74 69 6e 67 20 77 | 6f 75 6c 64 20 62 65 3a |inting w|ould be:|
|000044c0| 0d 70 72 69 6e 74 3a 20 | 7b 0d 09 74 69 74 6c 65 |.print: |{..title|
|000044d0| 3a 20 22 50 72 69 6e 74 | 20 57 69 67 67 79 22 2c |: "Print| Wiggy",|
|000044e0| 0d 09 72 6f 75 74 65 46 | 6f 72 6d 3a 20 70 72 69 |..routeF|orm: pri|
|000044f0| 6e 74 53 6c 69 70 2c 0d | 09 66 6f 72 6d 61 74 73 |ntSlip,.|.formats|
|00004500| 3a 20 5b 77 69 67 42 75 | 73 69 6e 65 73 73 46 6f |: [wigBu|sinessFo|
|00004510| 72 6d 61 74 2c 20 77 69 | 67 4d 65 6d 6f 46 6f 72 |rmat, wi|gMemoFor|
|00004520| 6d 61 74 5d 7d 0d 4e 6f | 74 65 3a 20 54 68 65 20 |mat]}.No|te: The |
|00004530| 75 73 65 72 20 69 6e 74 | 65 72 66 61 63 65 20 63 |user int|erface c|
|00004540| 6f 6e 76 65 6e 74 69 6f | 6e 20 69 73 20 74 68 61 |onventio|n is tha|
|00004550| 74 20 74 68 65 20 66 69 | 72 73 74 20 65 6e 74 72 |t the fi|rst entr|
|00004560| 79 20 69 6e 20 74 68 65 | 20 72 6f 75 74 69 6e 67 |y in the| routing|
|00004570| 20 66 72 61 6d 65 20 28 | 66 6f 72 20 65 78 61 6d | frame (|for exam|
|00004580| 70 6c 65 2c 20 74 68 65 | 20 66 69 72 73 74 20 65 |ple, the| first e|
|00004590| 6e 74 72 79 20 69 6e 20 | 74 68 65 20 61 63 74 69 |ntry in |the acti|
|000045a0| 6f 6e 20 62 75 74 74 6f | 6e 29 2c 20 68 61 73 20 |on butto|n), has |
|000045b0| 74 68 65 20 61 63 74 69 | 6f 6e 20 6e 61 6d 65 20 |the acti|on name |
|000045c0| 28 20 50 72 69 6e 74 2c | 20 66 6f 72 20 69 6e 73 |( Print,| for ins|
|000045d0| 74 61 6e 63 65 29 20 61 | 6e 64 20 74 68 65 20 6f |tance) a|nd the o|
|000045e0| 62 6a 65 63 74 20 79 6f | 75 20 61 72 65 20 70 72 |bject yo|u are pr|
|000045f0| 69 6e 74 69 6e 67 20 28 | 57 69 67 67 79 29 2e 20 |inting (|Wiggy). |
|00004600| 41 6c 6c 20 6f 74 68 65 | 72 20 74 69 74 6c 65 73 |All othe|r titles|
|00004610| 20 69 6e 20 74 68 65 20 | 72 6f 75 74 69 6e 67 20 | in the |routing |
|00004620| 66 72 61 6d 65 20 68 61 | 76 65 20 6a 75 73 74 20 |frame ha|ve just |
|00004630| 74 68 65 20 61 63 74 69 | 6f 6e 2c 20 62 75 74 20 |the acti|on, but |
|00004640| 6e 6f 74 20 74 68 65 20 | 6f 62 6a 65 63 74 20 28 |not the |object (|
|00004650| 43 61 72 64 69 6e 67 20 | 73 65 65 6d 73 20 74 6f |Carding |seems to|
|00004660| 20 62 65 20 61 20 6d 69 | 6e 6f 72 20 65 78 63 65 | be a mi|nor exce|
|00004670| 70 74 69 6f 6e 2c 20 62 | 75 74 20 69 73 20 6e 6f |ption, b|ut is no|
|00004680| 74 20 72 65 61 6c 6c 79 | 2c 20 73 69 6e 63 65 20 |t really|, since |
|00004690| 79 6f 75 20 68 61 76 65 | 20 74 6f 20 73 61 79 20 |you have| to say |
|000046a0| 77 68 65 72 65 20 79 6f | 75 20 61 72 65 20 67 6f |where yo|u are go|
|000046b0| 69 6e 67 20 74 6f 20 4d | 6f 76 65 20 6f 72 20 43 |ing to M|ove or C|
|000046c0| 6f 70 79 20 74 68 65 20 | 69 74 65 6d 20 74 6f 20 |opy the |item to |
|000046d0| 2f 66 72 6f 6d 29 2e 0d | 46 6f 72 6d 61 74 73 0d |/from)..|Formats.|
|000046e0| 49 6e 20 74 68 65 20 72 | 6f 75 74 69 6e 67 20 66 |In the r|outing f|
|000046f0| 72 61 6d 65 20 65 6e 74 | 72 79 20 69 73 20 61 20 |rame ent|ry is a |
|00004700| 66 6f 72 6d 61 74 73 20 | 73 6c 6f 74 20 74 68 61 |formats |slot tha|
|00004710| 74 20 63 6f 6e 74 61 69 | 6e 73 20 61 6e 20 61 72 |t contai|ns an ar|
|00004720| 72 61 79 20 6f 66 20 73 | 79 6d 62 6f 6c 73 2e 20 |ray of s|ymbols. |
|00004730| 45 61 63 68 20 6f 66 20 | 74 68 65 73 65 20 73 79 |Each of |these sy|
|00004740| 6d 62 6f 6c 73 20 72 65 | 66 65 72 73 20 74 6f 20 |mbols re|fers to |
|00004750| 61 20 66 6f 72 6d 61 74 | 20 74 68 61 74 20 74 68 |a format| that th|
|00004760| 65 20 75 73 65 72 20 63 | 61 6e 20 73 65 6c 65 63 |e user c|an selec|
|00004770| 74 2e 20 41 20 66 6f 72 | 6d 61 74 20 69 73 20 61 |t. A for|mat is a|
|00004780| 20 77 61 79 20 6f 66 20 | 66 6f 72 6d 61 74 74 69 | way of |formatti|
|00004790| 6e 67 20 74 68 65 20 70 | 61 67 65 20 66 6f 72 20 |ng the p|age for |
|000047a0| 70 72 69 6e 74 69 6e 67 | 2c 20 66 61 78 69 6e 67 |printing|, faxing|
|000047b0| 20 6f 72 20 6d 61 69 6c | 69 6e 67 2e 0d 45 61 63 | or mail|ing..Eac|
|000047c0| 68 20 6f 66 20 74 68 65 | 20 66 6f 72 6d 61 74 73 |h of the| formats|
|000047d0| 20 6d 75 73 74 20 62 65 | 20 61 74 74 61 63 68 65 | must be| attache|
|000047e0| 64 20 74 6f 20 74 68 65 | 20 72 6f 6f 74 20 76 69 |d to the| root vi|
|000047f0| 65 77 2e 20 54 68 65 20 | 73 6c 6f 74 20 6e 61 6d |ew. The |slot nam|
|00004800| 65 20 6f 66 20 74 68 65 | 20 66 6f 72 6d 61 74 20 |e of the| format |
|00004810| 6d 75 73 74 20 62 65 20 | 74 68 65 20 73 61 6d 65 |must be |the same|
|00004820| 20 61 73 20 74 68 65 20 | 73 79 6d 62 6f 6c 20 69 | as the |symbol i|
|00004830| 6e 20 74 68 65 20 66 6f | 72 6d 61 74 73 20 61 72 |n the fo|rmats ar|
|00004840| 72 61 79 20 69 6e 20 79 | 6f 75 72 20 72 6f 75 74 |ray in y|our rout|
|00004850| 69 6e 67 20 66 72 61 6d | 65 2e 20 55 73 69 6e 67 |ing fram|e. Using|
|00004860| 20 74 68 65 20 70 72 69 | 6e 74 20 65 6e 74 72 79 | the pri|nt entry|
|00004870| 20 61 62 6f 76 65 2c 20 | 79 6f 75 20 77 6f 75 6c | above, |you woul|
|00004880| 64 20 6e 65 65 64 20 74 | 6f 20 61 64 64 20 74 77 |d need t|o add tw|
|00004890| 6f 20 73 6c 6f 74 73 20 | 74 6f 20 74 68 65 20 72 |o slots |to the r|
|000048a0| 6f 6f 74 20 76 69 65 77 | 3a 20 6f 6e 65 20 77 6f |oot view|: one wo|
|000048b0| 75 6c 64 20 62 65 20 77 | 69 67 42 75 73 69 6e 65 |uld be w|igBusine|
|000048c0| 73 73 46 6f 72 6d 61 74 | 3b 20 74 68 65 20 6f 74 |ssFormat|; the ot|
|000048d0| 68 65 72 20 77 69 67 4d | 65 6d 6f 46 6f 72 6d 61 |her wigM|emoForma|
|000048e0| 74 2e 20 45 61 63 68 20 | 73 6c 6f 74 20 63 6f 6e |t. Each |slot con|
|000048f0| 74 61 69 6e 73 20 61 20 | 72 6f 75 74 69 6e 67 20 |tains a |routing |
|00004900| 66 6f 72 6d 61 74 20 66 | 72 61 6d 65 2e 0d 59 6f |format f|rame..Yo|
|00004910| 75 20 63 61 6e 20 75 73 | 65 20 74 68 65 20 47 65 |u can us|e the Ge|
|00004920| 74 52 6f 6f 74 20 66 75 | 6e 63 74 69 6f 6e 20 74 |tRoot fu|nction t|
|00004930| 6f 20 61 64 64 20 74 68 | 65 73 65 20 73 6c 6f 74 |o add th|ese slot|
|00004940| 73 2e 20 49 6e 20 67 65 | 6e 65 72 61 6c 2c 20 79 |s. In ge|neral, y|
|00004950| 6f 75 20 77 69 6c 6c 20 | 61 74 74 61 63 68 20 79 |ou will |attach y|
|00004960| 6f 75 72 20 66 6f 72 6d | 61 74 73 20 69 6e 20 74 |our form|ats in t|
|00004970| 68 65 20 69 6e 73 74 61 | 6c 6c 53 63 72 69 70 74 |he insta|llScript|
|00004980| 20 6f 66 20 79 6f 75 72 | 20 61 70 70 6c 69 63 61 | of your| applica|
|00004990| 74 69 6f 6e 2c 20 61 6e | 64 20 72 65 6d 6f 76 65 |tion, an|d remove|
|000049a0| 20 74 68 65 6d 20 69 6e | 20 74 68 65 20 72 65 6d | them in| the rem|
|000049b0| 6f 76 65 53 63 72 69 70 | 74 2e 20 41 6e 20 65 78 |oveScrip|t. An ex|
|000049c0| 61 6d 70 6c 65 20 6f 66 | 20 74 68 69 73 20 69 73 |ample of| this is|
|000049d0| 3a 0d 63 6f 6e 73 74 20 | 6b 57 69 67 42 75 73 69 |:.const |kWigBusi|
|000049e0| 6e 65 73 73 46 6f 72 6d | 61 74 53 79 6d 62 6f 6c |nessForm|atSymbol|
|000049f0| 20 3a 3d 20 27 7c 77 69 | 67 42 75 73 46 6f 72 6d | := '|wi|gBusForm|
|00004a00| 61 74 3a 57 49 47 47 59 | 7c 3b 0d 63 6f 6e 73 74 |at:WIGGY||;.const|
|00004a10| 20 6b 57 69 67 4d 65 6d | 6f 46 6f 72 6d 61 74 53 | kWigMem|oFormatS|
|00004a20| 79 6d 62 6f 6c 20 3a 3d | 20 27 7c 77 69 67 53 79 |ymbol :=| '|wigSy|
|00004a30| 6d 46 6f 72 6d 61 74 3a | 57 49 47 47 59 7c 20 3b |mFormat:|WIGGY| ;|
|00004a40| 0d 69 6e 73 74 61 6c 6c | 53 63 72 69 70 74 20 3a |.install|Script :|
|00004a50| 3d 20 66 75 6e 63 28 70 | 61 72 74 46 72 61 6d 65 |= func(p|artFrame|
|00004a60| 29 0d 62 65 67 69 6e 0d | 09 2e 2e 2e 0d 09 2f 2f |).begin.|......//|
|00004a70| 20 61 74 74 61 63 68 20 | 6d 79 20 66 6f 72 6d 61 | attach |my forma|
|00004a80| 74 73 20 74 6f 20 74 68 | 65 20 72 6f 6f 74 0d 09 |ts to th|e root..|
|00004a90| 2f 2f 20 77 69 67 42 75 | 73 69 6e 65 73 73 46 6f |// wigBu|sinessFo|
|00004aa0| 72 6d 61 74 20 69 73 20 | 61 20 75 73 65 72 20 74 |rmat is |a user t|
|00004ab0| 65 6d 70 6c 61 74 65 0d | 09 47 65 74 52 6f 6f 74 |emplate.|.GetRoot|
|00004ac0| 28 29 2e 28 6b 57 69 67 | 42 75 73 69 6e 65 73 73 |().(kWig|Business|
|00004ad0| 46 6f 72 6d 61 74 53 79 | 6d 62 6f 6c 29 20 3a 3d |FormatSy|mbol) :=|
|00004ae0| 0d 09 09 70 61 72 74 46 | 72 61 6d 65 2e 74 68 65 |...partF|rame.the|
|00004af0| 46 6f 72 6d 2e 77 69 67 | 42 75 73 69 6e 65 73 73 |Form.wig|Business|
|00004b00| 46 6f 72 6d 61 74 3b 0d | 09 2f 2f 20 77 69 67 4d |Format;.|.// wigM|
|00004b10| 65 6d 6f 72 46 6f 72 6d | 61 74 20 69 73 20 61 20 |emorForm|at is a |
|00004b20| 75 73 65 72 20 74 65 6d | 70 6c 61 74 65 0d 09 47 |user tem|plate..G|
|00004b30| 65 74 52 6f 6f 74 28 29 | 2e 28 6b 57 69 67 4d 65 |etRoot()|.(kWigMe|
|00004b40| 6d 6f 46 6f 72 6d 61 74 | 53 79 6d 62 6f 6c 29 3a |moFormat|Symbol):|
|00004b50| 3d 0d 09 09 70 61 72 74 | 46 72 61 6d 65 2e 74 68 |=...part|Frame.th|
|00004b60| 65 46 6f 72 6d 2e 77 69 | 67 4d 65 6d 6f 46 6f 72 |eForm.wi|gMemoFor|
|00004b70| 6d 61 74 3b 0d 65 6e 64 | 0d 72 65 6d 6f 76 65 53 |mat;.end|.removeS|
|00004b80| 63 72 69 70 74 20 3a 3d | 20 66 75 6e 63 28 70 61 |cript :=| func(pa|
|00004b90| 72 74 46 72 61 6d 65 29 | 0d 62 65 67 69 6e 0d 09 |rtFrame)|.begin..|
|00004ba0| 2e 2e 2e 0d 09 2f 2f 20 | 72 65 6d 6f 76 65 20 6d |.....// |remove m|
|00004bb0| 79 20 66 6f 72 6d 61 74 | 73 20 66 72 6f 6d 20 74 |y format|s from t|
|00004bc0| 68 65 20 72 6f 6f 74 0d | 09 52 65 6d 6f 76 65 53 |he root.|.RemoveS|
|00004bd0| 6c 6f 74 28 47 65 74 52 | 6f 6f 74 28 29 2c 20 6b |lot(GetR|oot(), k|
|00004be0| 57 69 67 42 75 73 69 6e | 65 73 73 46 6f 72 6d 61 |WigBusin|essForma|
|00004bf0| 74 53 79 6d 62 6f 6c 20 | 29 3b 0d 09 52 65 6d 6f |tSymbol |);..Remo|
|00004c00| 76 65 53 6c 6f 74 28 47 | 65 74 52 6f 6f 74 28 29 |veSlot(G|etRoot()|
|00004c10| 2c 20 6b 57 69 67 4d 65 | 6d 6f 46 6f 72 6d 61 74 |, kWigMe|moFormat|
|00004c20| 53 79 6d 62 6f 6c 20 29 | 3b 0d 65 6e 64 0d 35 2e |Symbol )|;.end.5.|
|00004c30| 20 52 6f 75 74 69 6e 67 | 20 46 6f 72 6d 61 74 73 | Routing| Formats|
|00004c40| 0d 52 6f 75 74 69 6e 67 | 20 66 6f 72 6d 61 74 73 |.Routing| formats|
|00004c50| 20 6c 61 79 20 6f 75 74 | 20 64 61 74 61 20 66 72 | lay out| data fr|
|00004c60| 6f 6d 20 74 68 65 20 4e | 65 77 74 6f 6e 20 69 6e |om the N|ewton in|
|00004c70| 20 61 20 77 61 79 20 61 | 70 70 72 6f 70 72 69 61 | a way a|ppropria|
|00004c80| 74 65 20 66 6f 72 20 74 | 68 65 20 72 6f 75 74 69 |te for t|he routi|
|00004c90| 6e 67 20 6d 65 64 69 75 | 6d 2e 20 54 68 69 73 20 |ng mediu|m. This |
|00004ca0| 67 69 76 65 73 20 79 6f | 75 20 61 20 63 68 61 6e |gives yo|u a chan|
|00004cb0| 63 65 20 74 6f 20 74 61 | 6b 65 20 69 6e 66 6f 72 |ce to ta|ke infor|
|00004cc0| 6d 61 74 69 6f 6e 20 77 | 72 69 74 74 65 6e 20 6f |mation w|ritten o|
|00004cd0| 6e 20 61 20 74 61 6c 6c | 20 74 68 69 6e 20 73 63 |n a tall| thin sc|
|00004ce0| 72 65 65 6e 20 61 6e 64 | 20 72 65 66 6f 72 6d 61 |reen and| reforma|
|00004cf0| 74 20 69 74 20 66 6f 72 | 20 74 68 65 20 70 72 69 |t it for| the pri|
|00004d00| 6e 74 65 64 20 6f 72 20 | 66 61 78 65 64 20 70 61 |nted or |faxed pa|
|00004d10| 67 65 2c 20 6f 72 20 70 | 65 72 68 61 70 73 20 66 |ge, or p|erhaps f|
|00004d20| 6f 72 20 65 6c 65 63 74 | 72 6f 6e 69 63 20 6d 61 |or elect|ronic ma|
|00004d30| 69 6c 20 61 73 20 77 65 | 6c 6c 2e 0d 46 6f 72 6d |il as we|ll..Form|
|00004d40| 61 74 20 46 72 61 6d 65 | 0d 54 68 65 20 66 6f 72 |at Frame|.The for|
|00004d50| 6d 61 74 20 66 72 61 6d | 65 20 69 73 20 61 20 63 |mat fram|e is a c|
|00004d60| 6f 6e 74 61 69 6e 65 72 | 20 66 72 61 6d 65 20 74 |ontainer| frame t|
|00004d70| 68 61 74 20 73 70 65 63 | 69 66 69 65 73 20 73 6f |hat spec|ifies so|
|00004d80| 6d 65 20 67 65 6e 65 72 | 61 6c 20 69 6e 66 6f 72 |me gener|al infor|
|00004d90| 6d 61 74 69 6f 6e 20 61 | 62 6f 75 74 20 74 68 65 |mation a|bout the|
|00004da0| 20 66 6f 72 6d 61 74 2e | 20 49 74 20 61 6c 73 6f | format.| It also|
|00004db0| 20 63 6f 6e 74 61 69 6e | 73 20 61 20 6c 61 79 6f | contain|s a layo|
|00004dc0| 75 74 2f 74 65 6d 70 6c | 61 74 65 20 74 68 61 74 |ut/templ|ate that|
|00004dd0| 20 69 73 20 75 73 65 64 | 20 74 6f 20 67 65 6e 65 | is used| to gene|
|00004de0| 72 61 74 65 20 74 68 65 | 20 70 61 67 65 73 20 66 |rate the| pages f|
|00004df0| 6f 72 20 70 72 69 6e 74 | 69 6e 67 20 61 6e 64 20 |or print|ing and |
|00004e00| 66 61 78 69 6e 67 2e 0d | 54 68 65 20 66 6f 72 6d |faxing..|The form|
|00004e10| 61 74 20 66 72 61 6d 65 | 20 6c 6f 6f 6b 73 20 6c |at frame| looks l|
|00004e20| 69 6b 65 20 74 68 69 73 | 3a 0d 7b 0d 09 74 69 74 |ike this|:.{..tit|
|00004e30| 6c 65 3a 20 22 42 75 73 | 69 6e 65 73 73 22 2c 0d |le: "Bus|iness",.|
|00004e40| 09 61 75 78 46 6f 72 6d | 3a 20 6e 69 6c 2c 0d 09 |.auxForm|: nil,..|
|00004e50| 74 65 78 74 53 63 72 69 | 70 74 3a 20 27 77 69 67 |textScri|pt: 'wig|
|00004e60| 67 79 54 65 78 74 53 63 | 72 69 70 74 2c 0d 09 61 |gyTextSc|ript,..a|
|00004e70| 74 74 61 63 68 6d 65 6e | 74 3a 20 74 72 75 65 2c |ttachmen|t: true,|
|00004e80| 0d 09 5f 70 72 6f 74 6f | 3a 20 52 4f 4d 5f 63 6f |.._proto|: ROM_co|
|00004e90| 76 65 72 50 61 67 65 46 | 6f 72 6d 61 74 2c 0d 09 |verPageF|ormat,..|
|00004ea0| 6d 61 69 6e 46 6f 72 6d | 61 74 3a 20 70 72 69 6e |mainForm|at: prin|
|00004eb0| 74 46 6f 72 6d 61 74 5f | 77 69 67 67 79 42 75 73 |tFormat_|wiggyBus|
|00004ec0| 69 6e 65 73 73 46 6f 72 | 6d 61 74 4c 61 79 6f 75 |inessFor|matLayou|
|00004ed0| 74 0d 7d 0d 74 69 74 6c | 65 3a 20 74 69 74 6c 65 |t.}.titl|e: title|
|00004ee0| 20 74 68 61 74 20 73 68 | 6f 77 73 20 75 70 20 69 | that sh|ows up i|
|00004ef0| 6e 20 74 68 65 20 46 6f | 72 6d 61 74 20 70 6f 70 |n the Fo|rmat pop|
|00004f00| 75 70 20 69 6e 20 61 6e | 79 20 72 6f 75 74 69 6e |up in an|y routin|
|00004f10| 67 20 73 6c 69 70 73 0d | 61 75 78 46 6f 72 6d 3a |g slips.|auxForm:|
|00004f20| 20 64 65 66 69 6e 65 73 | 20 61 20 6c 61 79 6f 75 | defines| a layou|
|00004f30| 74 20 66 6f 72 20 61 20 | 73 6c 69 70 20 74 6f 20 |t for a |slip to |
|00004f40| 67 61 74 68 65 72 20 65 | 78 74 72 61 20 72 6f 75 |gather e|xtra rou|
|00004f50| 74 69 6e 67 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |ting inf|ormation|
|00004f60| 2e 0d 09 20 20 20 20 20 | 20 20 53 65 65 20 74 68 |... | See th|
|00004f70| 65 20 61 75 78 46 6f 72 | 6d 20 73 61 6d 70 6c 65 |e auxFor|m sample|
|00004f80| 20 63 6f 64 65 20 66 6f | 72 20 61 6e 20 65 78 61 | code fo|r an exa|
|00004f90| 6d 70 6c 65 20 6f 66 20 | 68 6f 77 20 74 6f 20 75 |mple of |how to u|
|00004fa0| 73 65 20 74 68 69 73 20 | 73 6c 6f 74 0d 74 65 78 |se this |slot.tex|
|00004fb0| 74 53 63 72 69 70 74 3a | 20 73 79 6d 62 6f 6c 20 |tScript:| symbol |
|00004fc0| 6f 66 20 61 20 73 63 72 | 69 70 74 20 69 6e 20 79 |of a scr|ipt in y|
|00004fd0| 6f 75 72 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |our appl|ication |
|00004fe0| 74 68 61 74 20 72 65 74 | 75 72 6e 73 20 61 20 74 |that ret|urns a t|
|00004ff0| 65 78 74 20 6f 6e 6c 79 | 20 72 65 70 72 65 73 65 |ext only| represe|
|00005000| 6e 74 61 74 69 6f 6e 20 | 6f 66 20 74 68 65 20 69 |ntation |of the i|
|00005010| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 74 6f 20 72 6f |nformati|on to ro|
|00005020| 75 74 65 0d 61 74 74 61 | 63 68 6d 65 6e 74 3a 20 |ute.atta|chment: |
|00005030| 74 72 75 65 20 69 66 20 | 66 72 61 6d 65 20 64 61 |true if |frame da|
|00005040| 74 61 20 63 61 6e 20 62 | 65 20 61 74 74 61 63 68 |ta can b|e attach|
|00005050| 65 64 20 74 6f 20 65 6c | 65 63 74 72 6f 6e 69 63 |ed to el|ectronic|
|00005060| 20 6d 61 69 6c 0d 5f 70 | 72 6f 74 6f 3a 20 52 4f | mail._p|roto: RO|
|00005070| 4d 5f 63 6f 76 65 72 50 | 61 67 65 46 6f 72 6d 61 |M_coverP|ageForma|
|00005080| 74 0d 6d 61 69 6e 46 6f | 72 6d 61 74 3a 20 74 65 |t.mainFo|rmat: te|
|00005090| 6d 70 6c 61 74 65 20 74 | 68 61 74 20 67 65 6e 65 |mplate t|hat gene|
|000050a0| 72 61 74 65 73 20 74 68 | 65 20 70 61 67 65 73 20 |rates th|e pages |
|000050b0| 74 6f 20 70 72 69 6e 74 | 2f 66 61 78 0d 54 6f 20 |to print|/fax.To |
|000050c0| 66 69 6e 64 20 77 68 65 | 72 65 20 74 68 65 20 74 |find whe|re the t|
|000050d0| 69 74 6c 65 20 69 73 20 | 75 73 65 64 2c 20 67 6f |itle is |used, go|
|000050e0| 20 74 6f 20 74 68 65 20 | 6e 6f 74 65 70 61 64 2c | to the |notepad,|
|000050f0| 20 63 6c 69 63 6b 20 6f | 6e 20 74 68 65 20 61 63 | click o|n the ac|
|00005100| 74 69 6f 6e 20 62 75 74 | 74 6f 6e 20 61 6e 64 20 |tion but|ton and |
|00005110| 70 69 63 6b 20 70 72 69 | 6e 74 2e 20 59 6f 75 20 |pick pri|nt. You |
|00005120| 77 69 6c 6c 20 67 65 74 | 20 74 68 65 20 70 72 69 |will get| the pri|
|00005130| 6e 74 20 73 6c 69 70 20 | 77 69 74 68 20 74 77 6f |nt slip |with two|
|00005140| 20 70 69 63 6b 65 72 73 | 2e 20 54 68 65 20 73 65 | pickers|. The se|
|00005150| 63 6f 6e 64 20 70 69 63 | 6b 65 72 20 69 73 20 74 |cond pic|ker is t|
|00005160| 68 65 20 46 6f 72 6d 61 | 74 20 70 69 63 6b 65 72 |he Forma|t picker|
|00005170| 2e 20 54 68 65 20 65 6e | 74 72 69 65 73 20 69 6e |. The en|tries in|
|00005180| 20 74 68 69 73 20 70 69 | 63 6b 65 72 20 61 72 65 | this pi|cker are|
|00005190| 20 67 65 6e 65 72 61 74 | 65 64 20 66 72 6f 6d 20 | generat|ed from |
|000051a0| 74 68 65 20 74 69 74 6c | 65 20 73 6c 6f 74 2e 0d |the titl|e slot..|
|000051b0| 49 74 20 69 73 20 68 69 | 67 68 6c 79 20 75 6e 6c |It is hi|ghly unl|
|000051c0| 69 6b 65 6c 79 20 74 68 | 61 74 20 79 6f 75 20 77 |ikely th|at you w|
|000051d0| 69 6c 6c 20 65 76 65 72 | 20 6e 65 65 64 20 74 6f |ill ever| need to|
|000051e0| 20 64 65 66 69 6e 65 20 | 61 6e 20 61 75 78 46 6f | define |an auxFo|
|000051f0| 72 6d 20 66 6f 72 20 72 | 6f 75 74 69 6e 67 2e 20 |rm for r|outing. |
|00005200| 49 66 20 79 6f 75 20 77 | 61 6e 74 20 61 6e 20 65 |If you w|ant an e|
|00005210| 78 61 6d 70 6c 65 20 6f | 66 20 61 6e 20 61 75 78 |xample o|f an aux|
|00005220| 46 6f 72 6d 20 69 6e 20 | 61 63 74 69 6f 6e 2c 20 |Form in |action, |
|00005230| 70 69 63 6b 20 74 68 65 | 20 4d 65 6d 6f 20 66 6f |pick the| Memo fo|
|00005240| 72 6d 61 74 2e 20 59 6f | 75 20 67 65 74 20 61 6e |rmat. Yo|u get an|
|00005250| 20 61 75 78 69 6c 69 61 | 72 79 20 73 6c 69 70 20 | auxilia|ry slip |
|00005260| 74 68 61 74 20 67 65 74 | 73 20 6d 6f 72 65 20 69 |that get|s more i|
|00005270| 6e 66 6f 72 6d 61 74 69 | 6f 6e 2e 20 54 68 69 73 |nformati|on. This|
|00005280| 20 69 73 20 61 6e 20 61 | 75 78 46 6f 72 6d 2e 0d | is an a|uxForm..|
|00005290| 59 6f 75 20 73 68 6f 75 | 6c 64 20 75 73 65 20 74 |You shou|ld use t|
|000052a0| 68 65 20 52 4f 4d 5f 63 | 6f 76 65 72 50 61 67 65 |he ROM_c|overPage|
|000052b0| 46 6f 72 6d 61 74 2e 20 | 49 74 20 72 65 70 72 65 |Format. |It repre|
|000052c0| 73 65 6e 74 73 20 74 68 | 65 20 70 72 69 6e 74 69 |sents th|e printi|
|000052d0| 6e 67 20 62 65 68 61 76 | 69 6f 72 20 61 6e 64 20 |ng behav|ior and |
|000052e0| 64 6f 65 73 20 6e 6f 74 | 20 6e 65 63 65 73 73 61 |does not| necessa|
|000052f0| 72 69 6c 79 20 72 65 71 | 75 69 72 65 20 61 6e 20 |rily req|uire an |
|00005300| 61 63 74 75 61 6c 20 63 | 6f 76 65 72 20 70 61 67 |actual c|over pag|
|00005310| 65 2c 20 64 65 73 70 69 | 74 65 20 74 68 65 20 6e |e, despi|te the n|
|00005320| 61 6d 65 20 6f 66 20 74 | 68 65 20 63 6f 6e 73 74 |ame of t|he const|
|00005330| 61 6e 74 2e 20 52 4f 4d | 5f 63 6f 76 65 72 50 61 |ant. ROM|_coverPa|
|00005340| 67 65 46 6f 72 6d 61 74 | 20 77 69 6c 6c 20 61 75 |geFormat| will au|
|00005350| 74 6f 6d 61 74 69 63 61 | 6c 6c 79 20 67 65 6e 65 |tomatica|lly gene|
|00005360| 72 61 74 65 73 20 74 68 | 65 20 73 74 61 6e 64 61 |rates th|e standa|
|00005370| 72 64 20 46 61 78 20 63 | 6f 76 65 72 70 61 67 65 |rd Fax c|overpage|
|00005380| 20 69 66 20 74 68 65 20 | 75 73 65 72 20 72 65 71 | if the |user req|
|00005390| 75 65 73 74 73 20 6f 6e | 65 2c 20 61 6e 64 20 65 |uests on|e, and e|
|000053a0| 6e 73 75 72 65 73 20 74 | 68 61 74 20 74 68 65 20 |nsures t|hat the |
|000053b0| 22 66 61 78 20 68 65 61 | 64 65 72 22 20 69 73 20 |"fax hea|der" is |
|000053c0| 70 72 69 6e 74 65 64 20 | 61 74 20 74 68 65 20 74 |printed |at the t|
|000053d0| 6f 70 20 6f 66 20 61 6c | 6c 20 79 6f 75 72 20 70 |op of al|l your p|
|000053e0| 61 67 65 73 2e 0d 54 68 | 65 20 6d 61 69 6e 46 6f |ages..Th|e mainFo|
|000053f0| 72 6d 61 74 20 69 73 20 | 61 20 6c 61 79 6f 75 74 |rmat is |a layout|
|00005400| 20 61 6e 64 20 69 73 20 | 65 78 70 6c 61 69 6e 65 | and is |explaine|
|00005410| 64 20 62 65 6c 6f 77 20 | 6c 61 74 65 72 20 69 6e |d below |later in|
|00005420| 20 74 68 69 73 20 64 6f | 63 75 6d 65 6e 74 2e 0d | this do|cument..|
|00005430| 74 65 78 74 53 63 72 69 | 70 74 28 66 69 65 6c 64 |textScri|pt(field|
|00005440| 73 2c 20 74 61 72 67 65 | 74 29 0d 54 68 69 73 20 |s, targe|t).This |
|00005450| 66 75 6e 63 74 69 6f 6e | 20 6d 75 73 74 20 72 65 |function| must re|
|00005460| 74 75 72 6e 20 61 20 74 | 65 78 74 20 72 65 70 72 |turn a t|ext repr|
|00005470| 65 73 65 6e 74 61 74 69 | 6f 6e 20 6f 66 20 74 68 |esentati|on of th|
|00005480| 65 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 2e 20 49 |e inform|ation. I|
|00005490| 74 20 77 69 6c 6c 20 62 | 65 20 75 73 65 64 20 61 |t will b|e used a|
|000054a0| 73 20 74 68 65 20 62 6f | 64 79 20 6f 66 20 61 6e |s the bo|dy of an|
|000054b0| 20 65 6c 65 63 74 72 6f | 6e 69 63 20 6d 61 69 6c | electro|nic mail|
|000054c0| 20 6d 65 73 73 61 67 65 | 2e 0d 66 69 65 6c 64 73 | message|..fields|
|000054d0| 3a 20 74 68 65 20 73 70 | 65 63 69 61 6c 20 22 66 |: the sp|ecial "f|
|000054e0| 69 65 6c 64 73 20 66 72 | 61 6d 65 22 20 28 74 68 |ields fr|ame" (th|
|000054f0| 65 20 61 63 74 75 61 6c | 20 6f 75 74 62 6f 78 2f |e actual| outbox/|
|00005500| 69 6e 62 6f 78 20 73 6f | 75 70 20 65 6e 74 72 79 |inbox so|up entry|
|00005510| 29 0d 74 61 72 67 65 74 | 3a 20 74 68 65 20 74 61 |).target|: the ta|
|00005520| 72 67 65 74 20 65 6e 74 | 72 79 20 6f 66 20 74 68 |rget ent|ry of th|
|00005530| 65 20 72 6f 75 74 65 20 | 28 61 73 20 73 65 74 20 |e route |(as set |
|00005540| 62 79 20 79 6f 75 72 20 | 61 70 70 6c 69 63 61 74 |by your |applicat|
|00005550| 69 6f 6e 29 2e 0d 54 68 | 69 73 20 73 63 72 69 70 |ion)..Th|is scrip|
|00005560| 74 20 77 69 6c 6c 20 6a | 75 73 74 20 63 6f 6e 63 |t will j|ust conc|
|00005570| 61 74 65 6e 61 74 65 20 | 61 20 73 74 72 69 6e 67 |atenate |a string|
|00005580| 20 6f 66 20 74 68 65 20 | 72 69 67 68 74 20 74 68 | of the |right th|
|00005590| 69 6e 67 73 2e 20 4e 6f | 74 65 20 74 68 61 74 20 |ings. No|te that |
|000055a0| 79 6f 75 20 63 61 6e 20 | 6e 6f 74 20 73 65 6e 64 |you can |not send|
|000055b0| 20 67 72 61 70 68 69 63 | 73 20 6f 72 20 6f 74 68 | graphic|s or oth|
|000055c0| 65 72 20 4e 65 77 74 6f | 6e 20 64 61 74 61 20 75 |er Newto|n data u|
|000055d0| 73 69 6e 67 20 74 68 69 | 73 20 73 63 72 69 70 74 |sing thi|s script|
|000055e0| 2e 20 49 66 20 74 68 65 | 20 61 74 74 61 63 68 6d |. If the| attachm|
|000055f0| 65 6e 74 20 73 6c 6f 74 | 20 6f 66 20 74 68 65 20 |ent slot| of the |
|00005600| 66 6f 72 6d 61 74 20 66 | 72 61 6d 65 20 69 73 20 |format f|rame is |
|00005610| 74 72 75 65 2c 20 74 68 | 65 20 4e 65 77 74 6f 6e |true, th|e Newton|
|00005620| 20 77 69 6c 6c 20 74 61 | 6b 65 20 63 61 72 65 20 | will ta|ke care |
|00005630| 6f 66 20 61 74 74 61 63 | 68 69 6e 67 20 74 68 65 |of attac|hing the|
|00005640| 20 74 61 72 67 65 74 20 | 66 72 61 6d 65 20 74 6f | target |frame to|
|00005650| 20 74 68 65 20 65 2d 6d | 61 69 6c 20 6d 65 73 73 | the e-m|ail mess|
|00005660| 61 67 65 2e 0d 41 6e 20 | 65 78 61 6d 70 6c 65 20 |age..An |example |
|00005670| 74 65 78 74 20 73 63 72 | 69 70 74 2e 2e 2e 0d 66 |text scr|ipt....f|
|00005680| 75 6e 63 28 66 69 65 6c | 64 73 2c 20 74 61 72 67 |unc(fiel|ds, targ|
|00005690| 65 74 29 0d 62 65 67 69 | 6e 0d 09 6c 6f 63 61 6c |et).begi|n..local|
|000056a0| 20 74 65 78 74 20 3a 3d | 20 22 22 3b 0d 09 74 65 | text :=| "";..te|
|000056b0| 78 74 20 3a 3d 20 22 43 | 68 65 63 6b 20 23 22 20 |xt := "C|heck #" |
|000056c0| 26 20 4e 75 6d 62 65 72 | 53 74 72 28 74 61 72 67 |& Number|Str(targ|
|000056d0| 65 74 2e 63 6b 4e 75 6d | 62 65 72 29 3b 0d 09 74 |et.ckNum|ber);..t|
|000056e0| 65 78 74 20 3a 3d 20 74 | 65 78 74 20 26 20 22 5c |ext := t|ext & "\|
|000056f0| 6e 22 20 22 54 6f 3a 22 | 20 26 26 20 74 61 72 67 |n" "To:"| && targ|
|00005700| 65 74 2e 63 6b 50 61 79 | 65 65 3b 0d 09 74 65 78 |et.ckPay|ee;..tex|
|00005710| 74 20 3a 3d 20 74 65 78 | 74 20 26 20 22 5c 6e 22 |t := tex|t & "\n"|
|00005720| 20 26 20 22 46 6f 72 3a | 22 3b 0d 09 74 65 78 74 | & "For:|";..text|
|00005730| 20 3a 3d 20 74 65 78 74 | 20 26 20 3a 6c 6f 63 61 | := text| & :loca|
|00005740| 6c 69 7a 65 64 4d 6f 6e | 65 79 28 74 61 72 67 65 |lizedMon|ey(targe|
|00005750| 74 2e 63 6b 41 6d 6f 75 | 6e 74 29 3b 0d 65 6e 64 |t.ckAmou|nt);.end|
|00005760| 0d 54 68 65 20 65 78 61 | 6d 70 6c 65 20 73 63 72 |.The exa|mple scr|
|00005770| 69 70 74 20 72 65 74 75 | 72 6e 73 20 61 20 73 74 |ipt retu|rns a st|
|00005780| 72 69 6e 67 20 73 6f 6d | 65 74 68 69 6e 67 20 6c |ring som|ething l|
|00005790| 69 6b 65 20 74 68 69 73 | 2e 2e 2e 0d 43 68 65 63 |ike this|....Chec|
|000057a0| 6b 20 23 34 54 6f 3a 20 | 4e 65 64 20 74 68 65 20 |k #4To: |Ned the |
|000057b0| 57 6f 6e 64 65 72 20 4c | 6c 61 6d 61 46 6f 72 3a |Wonder L|lamaFor:|
|000057c0| 20 24 31 2c 30 30 30 2c | 30 30 30 2e 30 30 0d 6d | $1,000,|000.00.m|
|000057d0| 61 69 6e 46 6f 72 6d 61 | 74 0d 54 68 65 20 6d 61 |ainForma|t.The ma|
|000057e0| 69 6e 46 6f 72 6d 61 74 | 20 69 73 20 61 20 76 69 |inFormat| is a vi|
|000057f0| 65 77 20 74 65 6d 70 6c | 61 74 65 20 74 68 61 74 |ew templ|ate that|
|00005800| 20 73 70 65 63 69 66 69 | 65 73 20 68 6f 77 20 74 | specifi|es how t|
|00005810| 6f 20 66 6f 72 6d 61 74 | 20 79 6f 75 72 20 69 6e |o format| your in|
|00005820| 66 6f 72 6d 61 74 69 6f | 6e 2e 20 54 68 65 72 65 |formatio|n. There|
|00005830| 20 61 72 65 20 74 68 72 | 65 65 20 69 6d 70 6f 72 | are thr|ee impor|
|00005840| 74 61 6e 74 20 74 68 69 | 6e 67 73 20 61 62 6f 75 |tant thi|ngs abou|
|00005850| 74 20 74 68 69 73 20 66 | 6f 72 6d 61 74 3a 0d a5 |t this f|ormat:..|
|00005860| 20 54 68 65 20 74 6f 70 | 20 6c 65 76 65 6c 20 76 | The top| level v|
|00005870| 69 65 77 20 73 68 6f 75 | 6c 64 20 62 65 20 61 20 |iew shou|ld be a |
|00005880| 70 72 6f 74 6f 50 72 69 | 6e 74 46 6f 72 6d 61 74 |protoPri|ntFormat|
|00005890| 0d a5 20 54 68 65 20 74 | 6f 70 20 6c 65 76 65 6c |.. The t|op level|
|000058a0| 20 77 69 6c 6c 20 62 65 | 20 74 68 65 20 63 6f 72 | will be| the cor|
|000058b0| 72 65 63 74 20 73 69 7a | 65 20 66 6f 72 20 74 68 |rect siz|e for th|
|000058c0| 65 20 6f 75 74 70 75 74 | 20 70 61 70 65 72 0d a5 |e output| paper..|
|000058d0| 20 54 68 65 20 74 6f 70 | 20 6c 65 76 65 6c 20 6d | The top| level m|
|000058e0| 75 73 74 20 64 65 66 69 | 6e 65 20 61 20 70 72 69 |ust defi|ne a pri|
|000058f0| 6e 74 4e 65 78 74 50 61 | 67 65 53 63 72 69 70 74 |ntNextPa|geScript|
|00005900| 0d 55 73 65 20 74 68 65 | 20 70 72 6f 74 6f 50 72 |.Use the| protoPr|
|00005910| 69 6e 74 46 6f 72 6d 61 | 74 2c 20 69 74 20 73 61 |intForma|t, it sa|
|00005920| 76 65 73 20 61 20 6c 6f | 74 20 6f 66 20 74 72 6f |ves a lo|t of tro|
|00005930| 75 62 6c 65 21 0d 54 68 | 65 20 70 72 6f 74 6f 50 |uble!.Th|e protoP|
|00005940| 72 69 6e 74 46 6f 72 6d | 61 74 20 77 69 6c 6c 20 |rintForm|at will |
|00005950| 61 75 74 6f 6d 61 74 69 | 63 61 6c 6c 79 20 61 64 |automati|cally ad|
|00005960| 6a 75 73 74 20 69 74 73 | 65 6c 66 20 74 6f 20 74 |just its|elf to t|
|00005970| 68 65 20 73 69 7a 65 20 | 6f 66 20 74 68 65 20 6f |he size |of the o|
|00005980| 75 74 70 75 74 20 70 61 | 70 65 72 2e 20 54 68 61 |utput pa|per. Tha|
|00005990| 74 20 6d 65 61 6e 73 20 | 79 6f 75 20 63 61 6e 20 |t means |you can |
|000059a0| 75 73 65 20 74 68 65 20 | 76 69 65 77 4a 75 73 74 |use the |viewJust|
|000059b0| 69 66 79 53 6c 6f 74 20 | 69 6e 20 74 68 65 20 63 |ifySlot |in the c|
|000059c0| 68 69 6c 64 72 65 6e 20 | 79 6f 75 20 61 64 64 20 |hildren |you add |
|000059d0| 74 6f 20 74 68 65 20 73 | 6c 6f 74 20 74 6f 20 6d |to the s|lot to m|
|000059e0| 61 6b 65 20 73 75 72 65 | 20 74 68 65 79 20 75 73 |ake sure| they us|
|000059f0| 65 20 74 68 65 20 66 75 | 6c 6c 20 70 61 67 65 2e |e the fu|ll page.|
|00005a00| 20 59 6f 75 20 63 61 6e | 20 61 6c 73 6f 20 67 65 | You can| also ge|
|00005a10| 74 20 74 68 65 20 73 69 | 7a 65 20 28 69 6e 20 70 |t the si|ze (in p|
|00005a20| 69 78 65 6c 73 29 20 6f | 66 20 74 68 65 20 6f 75 |ixels) o|f the ou|
|00005a30| 74 70 75 74 20 70 61 67 | 65 20 62 79 20 73 65 6e |tput pag|e by sen|
|00005a40| 64 69 6e 67 20 61 20 4c | 6f 63 61 6c 42 6f 78 20 |ding a L|ocalBox |
|00005a50| 6d 65 73 73 61 67 65 20 | 74 6f 20 74 68 65 20 76 |message |to the v|
|00005a60| 69 65 77 20 74 68 61 74 | 20 70 72 6f 74 6f 73 20 |iew that| protos |
|00005a70| 66 72 6f 6d 20 74 68 65 | 20 70 72 6f 74 6f 50 72 |from the| protoPr|
|00005a80| 69 6e 74 46 6f 72 6d 61 | 74 2e 0d 70 72 69 6e 74 |intForma|t..print|
|00005a90| 4e 65 78 74 50 61 67 65 | 53 63 72 69 70 74 28 29 |NextPage|Script()|
|00005aa0| 0d 54 68 69 73 20 66 75 | 6e 63 74 69 6f 6e 20 64 |.This fu|nction d|
|00005ab0| 65 74 65 72 6d 69 6e 65 | 73 20 69 66 20 74 68 65 |etermine|s if the|
|00005ac0| 72 65 20 69 73 20 61 6e | 6f 74 68 65 72 20 70 61 |re is an|other pa|
|00005ad0| 67 65 20 74 6f 20 70 72 | 69 6e 74 2e 20 49 66 20 |ge to pr|int. If |
|00005ae0| 73 6f 2c 20 69 74 20 73 | 65 74 73 20 69 74 73 20 |so, it s|ets its |
|00005af0| 76 69 65 77 20 63 68 69 | 6c 64 72 65 6e 20 66 6f |view chi|ldren fo|
|00005b00| 72 20 74 68 65 20 6e 65 | 77 20 70 61 67 65 20 28 |r the ne|w page (|
|00005b10| 70 65 72 68 61 70 73 20 | 75 73 69 6e 67 20 52 65 |perhaps |using Re|
|00005b20| 64 6f 43 68 69 6c 64 72 | 65 6e 29 2c 20 61 6e 64 |doChildr|en), and|
|00005b30| 20 72 65 74 75 72 6e 73 | 20 74 72 75 65 2e 20 49 | returns| true. I|
|00005b40| 66 20 74 68 65 72 65 20 | 69 73 20 6e 6f 20 6e 65 |f there |is no ne|
|00005b50| 78 74 20 70 61 67 65 2c | 20 69 74 20 72 65 74 75 |xt page,| it retu|
|00005b60| 72 6e 73 20 6e 69 6c 2e | 0d 54 68 65 20 6b 65 79 |rns nil.|.The key|
|00005b70| 20 70 61 72 74 20 6f 66 | 20 74 68 69 73 20 73 63 | part of| this sc|
|00005b80| 72 69 70 74 20 69 73 20 | 73 65 74 74 69 6e 67 20 |ript is |setting |
|00005b90| 75 70 20 74 68 65 20 6e | 65 78 74 20 70 61 67 65 |up the n|ext page|
|00005ba0| 2e 20 49 6e 20 6f 72 64 | 65 72 20 74 6f 20 64 6f |. In ord|er to do|
|00005bb0| 20 74 68 69 73 20 79 6f | 75 20 6e 65 65 64 20 61 | this yo|u need a|
|00005bc0| 63 63 65 73 73 20 74 6f | 20 74 68 65 20 74 61 72 |ccess to| the tar|
|00005bd0| 67 65 74 20 6f 66 20 74 | 68 65 20 72 6f 75 74 65 |get of t|he route|
|00005be0| 2e 20 48 6f 77 65 76 65 | 72 2c 20 74 68 65 20 66 |. Howeve|r, the f|
|00005bf0| 6f 72 6d 61 74 20 69 73 | 20 61 74 74 61 63 68 65 |ormat is| attache|
|00005c00| 64 20 74 6f 20 74 68 65 | 20 72 6f 6f 74 20 76 69 |d to the| root vi|
|00005c10| 65 77 2c 20 74 68 61 74 | 20 69 73 2c 20 69 74 20 |ew, that| is, it |
|00005c20| 64 6f 65 73 20 6e 6f 74 | 20 68 61 76 65 20 74 68 |does not| have th|
|00005c30| 65 20 63 6f 6e 74 65 78 | 74 20 6f 66 20 79 6f 75 |e contex|t of you|
|00005c40| 72 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 2e 20 49 |r applic|ation. I|
|00005c50| 6e 73 74 65 61 64 2c 20 | 69 74 20 68 61 73 20 61 |nstead, |it has a|
|00005c60| 63 63 65 73 73 20 74 6f | 20 74 68 65 20 66 69 65 |ccess to| the fie|
|00005c70| 6c 64 73 20 66 72 61 6d | 65 2e 20 54 68 69 73 20 |lds fram|e. This |
|00005c80| 66 72 61 6d 65 20 69 73 | 20 73 65 74 20 75 70 20 |frame is| set up |
|00005c90| 62 79 20 74 68 65 20 72 | 6f 75 74 69 6e 67 20 73 |by the r|outing s|
|00005ca0| 79 73 74 65 6d 20 61 6e | 64 20 63 6f 6e 74 61 69 |ystem an|d contai|
|00005cb0| 6e 73 20 61 20 73 6c 6f | 74 20 63 61 6c 6c 65 64 |ns a slo|t called|
|00005cc0| 20 74 61 72 67 65 74 2c | 20 77 68 69 63 68 20 69 | target,| which i|
|00005cd0| 73 20 74 68 65 20 74 61 | 72 67 65 74 20 65 6e 74 |s the ta|rget ent|
|00005ce0| 72 79 20 74 68 61 74 20 | 79 6f 75 72 20 61 70 70 |ry that |your app|
|00005cf0| 6c 69 63 61 74 69 6f 6e | 20 73 65 74 20 75 70 2e |lication| set up.|
|00005d00| 20 49 6e 20 6f 74 68 65 | 72 20 77 6f 72 64 73 2c | In othe|r words,|
|00005d10| 20 75 73 65 20 66 69 65 | 6c 64 73 2e 74 61 72 67 | use fie|lds.targ|
|00005d20| 65 74 20 74 6f 20 67 65 | 74 20 61 74 20 74 68 65 |et to ge|t at the|
|00005d30| 20 64 61 74 61 20 62 65 | 69 6e 67 20 72 6f 75 74 | data be|ing rout|
|00005d40| 65 64 2e 0d 4e 6f 74 65 | 3a 20 59 6f 75 20 63 61 |ed..Note|: You ca|
|00005d50| 6e 20 75 73 65 20 74 68 | 65 20 4e 65 77 20 50 72 |n use th|e New Pr|
|00005d60| 69 6e 74 20 46 6f 72 6d | 61 74 20 6d 65 6e 75 20 |int Form|at menu |
|00005d70| 69 74 65 6d 20 69 6e 20 | 74 68 65 20 46 69 6c 65 |item in |the File|
|00005d80| 20 6d 65 6e 75 20 69 6e | 20 4e 54 4b 20 74 6f 20 | menu in| NTK to |
|00005d90| 64 6f 20 61 20 6c 61 79 | 6f 75 74 20 66 6f 72 20 |do a lay|out for |
|00005da0| 74 68 65 20 6d 61 69 6e | 46 6f 72 6d 61 74 2e 20 |the main|Format. |
|00005db0| 59 6f 75 20 63 61 6e 20 | 61 63 63 65 73 73 20 74 |You can |access t|
|00005dc0| 68 69 73 20 6c 61 79 6f | 75 74 20 61 73 20 70 72 |his layo|ut as pr|
|00005dd0| 69 6e 74 46 6f 72 6d 61 | 74 5f 3c 66 69 6c 65 2d |intForma|t_<file-|
|00005de0| 6e 61 6d 65 3e 2e 20 59 | 6f 75 20 77 69 6c 6c 20 |name>. Y|ou will |
|00005df0| 68 61 76 65 20 74 6f 20 | 6d 61 6e 75 61 6c 6c 79 |have to |manually|
|00005e00| 20 73 70 65 63 69 66 79 | 20 74 68 65 20 66 6f 72 | specify| the for|
|00005e10| 6d 61 74 46 72 61 6d 65 | 2c 20 61 6e 64 20 74 68 |matFrame|, and th|
|00005e20| 65 6e 20 67 69 76 65 20 | 74 68 65 20 6d 61 69 6e |en give |the main|
|00005e30| 46 6f 72 6d 61 74 20 73 | 6c 6f 74 20 61 20 76 61 |Format s|lot a va|
|00005e40| 6c 75 65 20 6f 66 20 70 | 72 69 6e 74 46 6f 72 6d |lue of p|rintForm|
|00005e50| 61 74 5f 3c 66 69 6c 65 | 2d 6e 61 6d 65 3e 2e 0d |at_<file|-name>..|
|00005e60| 49 4d 50 4f 52 54 41 4e | 54 3a 20 59 6f 75 72 20 |IMPORTAN|T: Your |
|00005e70| 73 65 74 75 70 52 6f 75 | 74 69 6e 67 53 6c 69 70 |setupRou|tingSlip|
|00005e80| 20 6d 65 73 73 61 67 65 | 20 69 6e 20 79 6f 75 72 | message| in your|
|00005e90| 20 62 61 73 65 20 76 69 | 65 77 20 6d 75 73 74 20 | base vi|ew must |
|00005ea0| 73 65 74 20 66 69 65 6c | 64 73 2e 74 61 72 67 65 |set fiel|ds.targe|
|00005eb0| 74 20 74 6f 20 61 20 76 | 61 6c 69 64 20 74 61 72 |t to a v|alid tar|
|00005ec0| 67 65 74 2c 20 6f 74 68 | 65 72 77 69 73 65 20 74 |get, oth|erwise t|
|00005ed0| 68 69 73 20 6d 65 73 73 | 61 67 65 20 77 69 6c 6c |his mess|age will|
|00005ee0| 20 6e 65 76 65 72 20 67 | 65 74 20 73 65 6e 74 21 | never g|et sent!|
|00005ef0| 0d 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |._______|________|
|00005f00| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00005f10| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00005f20| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00005f30| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 09 0d |________|______..|
|00005f40| 52 6f 75 74 69 6e 67 20 | 51 26 41 73 0d 09 5f 5f |Routing |Q&As..__|
|00005f50| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00005f60| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00005f70| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 0d 53 65 6e 64 69 6e |________|_.Sendin|
|00005f80| 67 20 46 72 61 6d 65 73 | 2c 20 57 68 61 74 20 41 |g Frames|, What A|
|00005f90| 70 70 6c 69 63 61 74 69 | 6f 6e 20 69 73 20 4f 70 |pplicati|on is Op|
|00005fa0| 65 6e 65 64 20 61 74 20 | 74 68 65 20 4f 74 68 65 |ened at |the Othe|
|00005fb0| 72 20 45 6e 64 3f 20 28 | 31 31 2f 31 31 2f 39 33 |r End? (|11/11/93|
|00005fc0| 29 20 28 4f 62 73 6f 6c | 65 74 65 64 20 62 79 20 |) (Obsol|eted by |
|00005fd0| 4e 65 77 74 6f 6e 20 50 | 72 6f 67 72 61 6d 6d 65 |Newton P|rogramme|
|00005fe0| 72 73 20 47 75 69 64 65 | 20 31 2e 30 20 44 6f 63 |rs Guide| 1.0 Doc|
|00005ff0| 75 6d 65 6e 74 61 74 69 | 6f 6e 20 31 33 2d 31 33 |umentati|on 13-13|
|00006000| 29 0d 51 3a 20 09 49 20 | 6d 61 64 65 20 61 6e 20 |).Q: .I |made an |
|00006010| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 77 69 74 68 |applicat|ion with|
|00006020| 20 72 6f 75 74 69 6e 67 | 2c 20 61 6e 64 20 74 72 | routing|, and tr|
|00006030| 69 65 64 20 74 6f 20 74 | 72 61 6e 73 66 65 72 20 |ied to t|ransfer |
|00006040| 74 68 65 20 73 6f 75 70 | 20 77 69 74 68 20 49 52 |the soup| with IR|
|00006050| 20 62 65 61 6d 20 62 65 | 74 77 65 65 6e 20 74 77 | beam be|tween tw|
|00006060| 6f 20 4e 65 77 74 6f 6e | 20 4d 65 73 73 61 67 65 |o Newton| Message|
|00006070| 20 50 61 64 73 2e 20 54 | 68 65 20 4e 65 77 74 6f | Pads. T|he Newto|
|00006080| 6e 20 77 68 69 63 68 20 | 73 65 6e 74 20 74 68 65 |n which |sent the|
|00006090| 20 73 6f 75 70 20 68 61 | 73 20 6d 79 20 61 70 70 | soup ha|s my app|
|000060a0| 6c 69 63 61 74 69 6f 6e | 20 6f 6e 20 69 74 2c 20 |lication| on it, |
|000060b0| 61 6e 64 20 74 68 65 20 | 6f 74 68 65 72 20 4e 65 |and the |other Ne|
|000060c0| 77 74 6f 6e 2c 20 74 68 | 65 20 6f 6e 65 20 77 68 |wton, th|e one wh|
|000060d0| 69 63 68 20 72 65 63 65 | 69 76 65 73 20 74 68 65 |ich rece|ives the|
|000060e0| 20 73 6f 75 70 2c 20 64 | 6f 65 73 6e 27 74 20 68 | soup, d|oesn't h|
|000060f0| 61 76 65 20 6d 79 20 61 | 70 70 6c 69 63 61 74 69 |ave my a|pplicati|
|00006100| 6f 6e 2e 20 0d 09 49 20 | 63 61 6e 20 74 72 61 6e |on. ..I |can tran|
|00006110| 73 66 65 72 20 74 68 65 | 20 73 6f 75 70 2c 20 62 |sfer the| soup, b|
|00006120| 75 74 20 77 68 65 6e 20 | 49 20 74 61 70 70 65 64 |ut when |I tapped|
|00006130| 20 74 68 65 20 69 74 65 | 6d 20 69 6e 20 74 68 65 | the ite|m in the|
|00006140| 20 69 6e 62 6f 78 2c 20 | 74 68 65 20 49 6e 73 70 | inbox, |the Insp|
|00006150| 65 63 74 6f 72 20 64 69 | 73 70 6c 61 79 65 64 20 |ector di|splayed |
|00006160| 61 6e 20 65 72 72 6f 72 | 20 6d 65 73 73 61 67 65 |an error| message|
|00006170| 20 22 55 6e 64 65 66 69 | 6e 65 64 20 56 61 72 69 | "Undefi|ned Vari|
|00006180| 61 62 6c 65 20 28 78 78 | 78 78 73 79 6d 29 22 20 |able (xx|xxsym)" |
|00006190| 28 22 78 78 78 78 73 79 | 6d 22 20 69 73 20 74 68 |("xxxxsy|m" is th|
|000061a0| 65 20 76 61 6c 75 65 20 | 6f 66 20 74 68 65 20 61 |e value |of the a|
|000061b0| 70 70 53 79 6d 62 6f 6c | 20 73 6c 6f 74 20 61 6e |ppSymbol| slot an|
|000061c0| 64 20 64 65 66 69 6e 65 | 64 20 61 73 20 61 20 71 |d define|d as a q|
|000061d0| 75 6f 74 65 64 20 73 79 | 6d 62 6f 6c 2e 29 20 20 |uoted sy|mbol.) |
|000061e0| 4f 66 20 63 6f 75 72 73 | 65 2c 20 49 20 63 61 6e |Of cours|e, I can|
|000061f0| 20 64 65 6c 65 74 65 20 | 74 68 69 73 20 69 74 65 | delete |this ite|
|00006200| 6d 20 77 69 74 68 20 74 | 68 65 20 49 6e 73 70 65 |m with t|he Inspe|
|00006210| 63 74 6f 72 2c 20 62 75 | 74 20 49 20 63 61 6e 6e |ctor, bu|t I cann|
|00006220| 6f 74 20 64 65 6c 65 74 | 65 20 74 68 65 20 69 74 |ot delet|e the it|
|00006230| 65 6d 20 69 6e 20 74 68 | 65 20 65 6e 64 20 75 73 |em in th|e end us|
|00006240| 65 72 20 70 6f 73 69 74 | 69 6f 6e 2e 20 43 6f 75 |er posit|ion. Cou|
|00006250| 6c 64 20 79 6f 75 20 74 | 65 6c 6c 20 6d 65 20 68 |ld you t|ell me h|
|00006260| 6f 77 20 74 6f 20 64 6f | 20 69 74 3f 0d 41 3a 20 |ow to do| it?.A: |
|00006270| 09 54 68 65 20 61 6e 73 | 77 65 72 20 69 73 20 74 |.The ans|wer is t|
|00006280| 68 61 74 20 74 68 65 20 | 69 6e 66 6f 72 6d 61 74 |hat the |informat|
|00006290| 69 6f 6e 20 73 65 6e 74 | 20 74 6f 20 74 68 65 20 |ion sent| to the |
|000062a0| 6f 74 68 65 72 20 4e 65 | 77 74 6f 6e 20 63 6f 6e |other Ne|wton con|
|000062b0| 74 61 69 6e 73 20 74 68 | 65 20 61 70 70 6c 69 63 |tains th|e applic|
|000062c0| 61 74 69 6f 6e 20 73 79 | 6d 62 6f 6c 20 6f 66 20 |ation sy|mbol of |
|000062d0| 74 68 65 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |the appl|ication |
|000062e0| 74 68 61 74 20 73 65 6e | 74 20 69 74 2e 20 57 68 |that sen|t it. Wh|
|000062f0| 65 6e 20 79 6f 75 20 74 | 61 70 20 50 75 74 20 41 |en you t|ap Put A|
|00006300| 77 61 79 20 69 6e 20 74 | 68 65 20 49 6e 20 42 6f |way in t|he In Bo|
|00006310| 78 2c 20 74 68 65 20 73 | 79 73 74 65 6d 20 6c 6f |x, the s|ystem lo|
|00006320| 6f 6b 73 20 61 74 20 74 | 68 65 20 61 70 70 6c 69 |oks at t|he appli|
|00006330| 63 61 74 69 6f 6e 20 73 | 79 6d 62 6f 6c 20 61 6e |cation s|ymbol an|
|00006340| 64 20 74 72 69 65 73 20 | 74 6f 20 72 75 6e 20 74 |d tries |to run t|
|00006350| 68 65 20 50 75 74 41 77 | 61 79 20 73 63 72 69 70 |he PutAw|ay scrip|
|00006360| 74 20 6f 66 20 74 68 65 | 20 63 6f 72 72 65 73 70 |t of the| corresp|
|00006370| 6f 6e 64 69 6e 67 20 61 | 70 70 6c 69 63 61 74 69 |onding a|pplicati|
|00006380| 6f 6e 20 0d 09 54 68 65 | 72 65 20 61 72 65 20 74 |on ..The|re are t|
|00006390| 77 6f 20 70 6f 73 73 69 | 62 6c 65 20 73 6f 6c 75 |wo possi|ble solu|
|000063a0| 74 69 6f 6e 73 20 74 6f | 20 74 68 69 73 20 70 72 |tions to| this pr|
|000063b0| 6f 62 6c 65 6d 3a 0d 09 | 31 2e 20 09 4f 6e 20 74 |oblem:..|1. .On t|
|000063c0| 68 65 20 72 65 63 65 69 | 76 69 6e 67 20 4e 65 77 |he recei|ving New|
|000063d0| 74 6f 6e 2c 20 68 61 76 | 65 20 61 20 63 6f 70 79 |ton, hav|e a copy|
|000063e0| 20 6f 66 20 74 68 65 20 | 61 70 70 6c 69 63 61 74 | of the |applicat|
|000063f0| 69 6f 6e 20 69 6e 63 6c | 75 64 69 6e 67 20 20 61 |ion incl|uding a|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.